Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 192.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 43.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2265, allocations: 46.64 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02511/0.2516, allocations: 24.94 MB / 349.6 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.2662, allocations: 6.982 MB / 356.6 MB, free: 4.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005374/0.2716, allocations: 147.4 kB / 356.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005295/0.2769, allocations: 1.465 MB / 358.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008464/0.2854, allocations: 2.04 MB / 360.3 MB, free: 452 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004756/0.2902, allocations: 1.396 MB / 361.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.3032, allocations: 8.971 MB / 370.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.3133, allocations: 6.042 MB / 376.7 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005435/0.3188, allocations: 3.226 MB / 379.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007454/0.3263, allocations: 4.257 MB / 384.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002949/0.3293, allocations: 0.6602 MB / 384.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.3337, allocations: 0.8786 MB / 385.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003715/0.3374, allocations: 2.032 MB / 387.7 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008469/0.3459, allocations: 4.207 MB / 391.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.363, allocations: 14.22 MB / 406.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3631, allocations: 0 / 406.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3631, allocations: 0 / 406.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004497/0.3636, allocations: 0 / 406.1 MB, free: 2.324 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02914/0.3927, allocations: 9.217 MB / 415.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3928, allocations: 12.03 kB / 415.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.4036, allocations: 1.74 MB / 417.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.4146, allocations: 4.602 MB / 421.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007092/0.4154, allocations: 0.5421 MB / 422.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002843/0.4182, allocations: 0.7068 MB / 423 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02587/0.4441, allocations: 9.781 MB / 432.7 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004107/0.4446, allocations: 7.906 kB / 432.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002079/0.4467, allocations: 300 kB / 433 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003829/0.4471, allocations: 350.6 kB / 433.4 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.4675, allocations: 8.291 MB / 441.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3677/0.8353, allocations: 30.48 MB / 472.2 MB, free: 88.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.8476, allocations: 16.08 MB / 488.2 MB, free: 73.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005124/0.8528, allocations: 3.05 MB / 491.3 MB, free: 72.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/0.8664, allocations: 8.078 MB / 499.4 MB, free: 66.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.8665, allocations: 67.91 kB / 499.4 MB, free: 66.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 5.73e-06/0.8665, allocations: 0 / 499.4 MB, free: 66.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.02217/0.8887, allocations: 11.59 MB / 0.499 GB, free: 57.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.8888, allocations: 81.69 kB / 0.4991 GB, free: 57.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008125/0.8969, allocations: 3.637 MB / 0.5027 GB, free: 53.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006366/0.8976, allocations: 73.7 kB / 0.5027 GB, free: 53.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/0.8996, allocations: 3.187 MB / 0.5059 GB, free: 50.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001212/0.9009, allocations: 0.9924 MB / 0.5068 GB, free: 49.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/0.9026, allocations: 0.6413 MB / 0.5075 GB, free: 48.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.9027, allocations: 307.5 kB / 0.5077 GB, free: 48.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.9053, allocations: 1.487 MB / 0.5092 GB, free: 46.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/0.9082, allocations: 2.625 MB / 0.5118 GB, free: 43.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005472/0.9137, allocations: 4.389 MB / 0.516 GB, free: 38.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-05/0.9138, allocations: 12 kB / 0.5161 GB, free: 38.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008972/0.9228, allocations: 5.017 MB / 0.521 GB, free: 33.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.9229, allocations: 20 kB / 0.521 GB, free: 33.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.13e-05/0.923, allocations: 40 kB / 0.521 GB, free: 33.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.9241, allocations: 404.5 kB / 0.5214 GB, free: 33.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/0.9271, allocations: 0.862 MB / 0.5222 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/0.9322, allocations: 7.348 MB / 0.5294 GB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/0.9355, allocations: 168.2 kB / 0.5296 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004231/0.936, allocations: 171.9 kB / 0.5297 GB, free: 24.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (451): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00424/0.9402, allocations: 2.14 MB / 0.5318 GB, free: 22.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/0.9413, allocations: 399.1 kB / 0.5322 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007513/0.9489, allocations: 4.451 MB / 0.5366 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.9489, allocations: 39.92 kB / 0.5366 GB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.574e-05/0.949, allocations: 12 kB / 0.5366 GB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.566e-05/0.949, allocations: 11.95 kB / 0.5366 GB, free: 17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/0.9691, allocations: 10.47 MB / 0.5468 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.9692, allocations: 7.938 kB / 0.5469 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/0.971, allocations: 435.4 kB / 0.5473 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.9732, allocations: 0.8746 MB / 0.5481 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/0.9735, allocations: 79.97 kB / 0.5482 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02057/0.9941, allocations: 16.2 MB / 0.564 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.9941, allocations: 4 kB / 0.564 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/1.007, allocations: 6.418 MB / 0.5703 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/1.01, allocations: 0.8008 MB / 0.5711 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/1.011, allocations: 67.98 kB / 0.5711 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/1.014, allocations: 139.9 kB / 0.5713 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008127/1.015, allocations: 217.8 kB / 0.5715 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003888/1.016, allocations: 83.98 kB / 0.5716 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.006069/1.022, allocations: 2.469 MB / 0.574 GB, free: 9.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.022, allocations: 0 / 0.574 GB, free: 9.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006945/1.029, allocations: 1.21 MB / 0.5751 GB, free: 8.234 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009953/1.03, allocations: 227.7 kB / 0.5754 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008822/1.038, allocations: 4.349 MB / 0.5796 GB, free: 3.543 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.039, allocations: 4 kB / 0.5796 GB, free: 3.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005639/1.044, allocations: 2.991 MB / 0.5825 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007582/1.052, allocations: 1.063 MB / 0.5836 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03417/1.086, allocations: 15.62 MB / 0.5988 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007876/1.094, allocations: 4.339 MB / 0.6031 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004533/1.098, allocations: 0.8981 MB / 0.6039 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.1, allocations: 275.4 kB / 0.6042 GB, free: 10.13 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/1.1, allocations: 0 / 0.6042 GB, free: 10.13 MB / 446.1 MB Notification: Performance of Templates: time 0.2771/1.377, allocations: 57.77 MB / 0.6606 GB, free: 118.6 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)