Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.strayReluctance.port_p.Phi.im|smpm3.stator.strayReluctance.port_p.Phi.re|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x|vfController3.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.strayReluctance.port_p.Phi.im|smpm3.stator.strayReluctance.port_p.Phi.re|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x|vfController3.x",fileNamePrefix="Modelica_3.2.3_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.001508/0.001508, allocations: 103.7 kB / 18.37 MB, free: 4.668 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.001721/0.001721, allocations: 188.3 kB / 19.3 MB, free: 3.746 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.286/1.286, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.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.001175/0.001175, allocations: 44.31 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0718/0.07298, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.169/0.242, allocations: 25.34 MB / 401.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.2575, allocations: 7.07 MB / 408.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00557/0.2631, allocations: 151.8 kB / 408.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005285/0.2685, allocations: 1.712 MB / 410.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007852/0.2763, allocations: 2.264 MB / 412.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.2808, allocations: 1.516 MB / 413.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.2912, allocations: 8.537 MB / 422.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009848/0.3011, allocations: 7.276 MB / 429.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005534/0.3066, allocations: 3.976 MB / 433.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006574/0.3132, allocations: 4.608 MB / 438.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002231/0.3154, allocations: 1.129 MB / 439.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003742/0.3192, allocations: 1.351 MB / 440.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002977/0.3222, allocations: 2.524 MB / 443.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005672/0.3279, allocations: 4.722 MB / 448 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.34, allocations: 14.71 MB / 462.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.34, allocations: 0 / 462.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.34, allocations: 0 / 462.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000209/0.3402, allocations: 0 / 462.7 MB, free: 8.516 MB / 382.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.02175/0.362, allocations: 9.228 MB / 471.9 MB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.362, allocations: 8.031 kB / 471.9 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009206/0.3712, allocations: 1.728 MB / 473.7 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008957/0.3802, allocations: 4.75 MB / 478.4 MB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004297/0.3807, allocations: 0.5342 MB / 478.9 MB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/0.3825, allocations: 0.7072 MB / 479.6 MB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.4019, allocations: 9.781 MB / 489.4 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/0.4021, allocations: 11.91 kB / 489.4 MB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/0.4034, allocations: 303.9 kB / 489.7 MB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003197/0.4037, allocations: 350.6 kB / 490.1 MB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.4206, allocations: 8.283 MB / 498.4 MB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05103/0.4716, allocations: 30.08 MB / 0.5161 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01538/0.487, allocations: 16.09 MB / 0.5318 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004831/0.4919, allocations: 3.042 MB / 0.5347 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/0.5051, allocations: 8.043 MB / 0.5426 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.5052, allocations: 68.78 kB / 0.5427 GB, free: 8.586 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 3.787e-06/0.5052, allocations: 0 / 0.5427 GB, free: 8.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=289): time 0.3087/0.8139, allocations: 11.58 MB / 0.554 GB, free: 144.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.8139, allocations: 82.84 kB / 0.554 GB, free: 144.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005301/0.8192, allocations: 3.646 MB / 0.5576 GB, free: 143.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003213/0.8196, allocations: 77.48 kB / 0.5577 GB, free: 143.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.8212, allocations: 3.181 MB / 0.5608 GB, free: 141.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006816/0.8219, allocations: 0.9874 MB / 0.5617 GB, free: 140.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000892/0.8228, allocations: 0.6483 MB / 0.5624 GB, free: 140 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.8229, allocations: 302.9 kB / 0.5627 GB, free: 139.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.8252, allocations: 1.478 MB / 0.5641 GB, free: 139.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/0.828, allocations: 2.623 MB / 0.5667 GB, free: 137.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005205/0.8332, allocations: 4.39 MB / 0.571 GB, free: 134.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/0.8332, allocations: 11.03 kB / 0.571 GB, free: 134.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008084/0.8413, allocations: 5.023 MB / 0.5759 GB, free: 132 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.8414, allocations: 21.31 kB / 0.5759 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-05/0.8414, allocations: 37.31 kB / 0.5759 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009345/0.8423, allocations: 397.8 kB / 0.5763 GB, free: 131.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/0.8455, allocations: 0.8681 MB / 0.5772 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/0.8505, allocations: 7.969 MB / 0.5849 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.8534, allocations: 176.4 kB / 0.5851 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.8536, allocations: 163.7 kB / 0.5853 GB, free: 124.8 MB / 478.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.002949/0.8566, allocations: 2.137 MB / 0.5874 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/0.8571, allocations: 411.1 kB / 0.5877 GB, free: 123.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006387/0.8635, allocations: 4.456 MB / 0.5921 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.8636, allocations: 19.25 kB / 0.5921 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.8636, allocations: 0 / 0.5921 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.8647, allocations: 0.7844 MB / 0.5929 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/0.8651, allocations: 70.06 kB / 0.5929 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.8668, allocations: 136 kB / 0.5931 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/0.8672, allocations: 227.9 kB / 0.5933 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007641/0.8748, allocations: 4.334 MB / 0.5975 GB, free: 119.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006184/0.881, allocations: 5.224 MB / 0.6026 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001727/0.8828, allocations: 1.519 MB / 0.6041 GB, free: 114.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00281/0.8856, allocations: 2.463 MB / 0.6065 GB, free: 112.1 MB / 478.1 MB Notification: Performance of Backend: time 4.21e-07/0.8856, allocations: 0 / 0.6065 GB, free: 112.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005195/0.8908, allocations: 3.351 MB / 0.6098 GB, free: 108.7 MB / 478.1 MB Notification: Performance of SimCode: time 0.01603/0.9068, allocations: 13.11 MB / 0.6226 GB, free: 95.58 MB / 478.1 MB Notification: Performance of Templates: time 0.0835/0.9904, allocations: 62.8 MB / 0.6839 GB, free: 32.79 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)