Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001025/0.001025, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001036/0.001036, allocations: 190 kB / 17.54 MB, free: 6.066 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.324/1.324, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001135/0.001135, allocations: 49.95 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09769, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02493/0.1227, allocations: 24.96 MB / 351.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.1387, allocations: 6.955 MB / 358.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006096/0.1449, allocations: 139.4 kB / 358.2 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006254/0.1512, allocations: 1.477 MB / 359.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008781/0.16, allocations: 2.02 MB / 361.7 MB, free: 1.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005055/0.1651, allocations: 1.385 MB / 363.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01379/0.1789, allocations: 8.745 MB / 371.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.217/0.396, allocations: 7.271 MB / 379.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007629/0.4036, allocations: 3.794 MB / 382.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008745/0.4124, allocations: 4.575 MB / 387.5 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003976/0.4164, allocations: 1.125 MB / 388.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005444/0.4219, allocations: 1.343 MB / 389.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003236/0.4251, allocations: 2.508 MB / 392.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008575/0.4337, allocations: 4.712 MB / 397.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.4481, allocations: 14.56 MB / 411.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4481, allocations: 0 / 411.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4481, allocations: 0 / 411.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004409/0.4486, allocations: 3.094 kB / 411.7 MB, free: 4.965 MB / 318.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.02325/0.4718, allocations: 9.22 MB / 420.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4719, allocations: 18.2 kB / 420.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009006/0.4809, allocations: 1.739 MB / 422.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009444/0.4904, allocations: 4.599 MB / 427.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005101/0.4909, allocations: 0.5458 MB / 427.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.493, allocations: 0.7022 MB / 428.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0208/0.5138, allocations: 9.79 MB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.514, allocations: 15.5 kB / 438.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007671/0.5148, allocations: 298.1 kB / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003051/0.5151, allocations: 350.6 kB / 439 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.5308, allocations: 8.285 MB / 447.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05477/0.5856, allocations: 30.47 MB / 477.7 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/0.6026, allocations: 16.08 MB / 493.8 MB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005852/0.6085, allocations: 3.043 MB / 496.9 MB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/0.6239, allocations: 8.087 MB / 0.4931 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.238e-05/0.624, allocations: 64.78 kB / 0.4932 GB, free: 11.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=281): time 4.288e-06/0.624, allocations: 0 / 0.4932 GB, free: 11.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=289): time 0.02429/0.6483, allocations: 11.58 MB / 0.5045 GB, free: 15.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.6484, allocations: 85.69 kB / 0.5046 GB, free: 15.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005563/0.654, allocations: 3.637 MB / 0.5081 GB, free: 11.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002668/0.6543, allocations: 77.08 kB / 0.5082 GB, free: 11.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002178/0.6565, allocations: 3.184 MB / 0.5113 GB, free: 8.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000894/0.6574, allocations: 0.9967 MB / 0.5123 GB, free: 7.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009715/0.6583, allocations: 0.6413 MB / 0.5129 GB, free: 6.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.6585, allocations: 309.1 kB / 0.5132 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/0.6611, allocations: 1.479 MB / 0.5146 GB, free: 5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/0.6645, allocations: 2.623 MB / 0.5172 GB, free: 1.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006575/0.6711, allocations: 4.396 MB / 0.5215 GB, free: 13.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.661e-05/0.6712, allocations: 12 kB / 0.5215 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.009075/0.6803, allocations: 5.012 MB / 0.5264 GB, free: 8.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.6803, allocations: 20 kB / 0.5264 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.16e-05/0.6804, allocations: 39.94 kB / 0.5265 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009962/0.6814, allocations: 401.5 kB / 0.5268 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.6845, allocations: 0.8634 MB / 0.5277 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.212/0.8964, allocations: 7.973 MB / 0.5355 GB, free: 150.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/0.9002, allocations: 170.2 kB / 0.5356 GB, free: 150.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/0.9005, allocations: 170.1 kB / 0.5358 GB, free: 150.6 MB / 446.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.004725/0.9053, allocations: 2.131 MB / 0.5379 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/0.9064, allocations: 401.4 kB / 0.5383 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007696/0.9141, allocations: 4.46 MB / 0.5426 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.9142, allocations: 31.03 kB / 0.5426 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/0.9142, allocations: 12.09 kB / 0.5427 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.9143, allocations: 19.75 kB / 0.5427 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.9332, allocations: 10.48 MB / 0.5529 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.9333, allocations: 3.969 kB / 0.5529 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/0.9351, allocations: 437.7 kB / 0.5533 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.9371, allocations: 0.8794 MB / 0.5542 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/0.9373, allocations: 73.66 kB / 0.5543 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.951, allocations: 17.66 MB / 0.5715 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.9511, allocations: 3.906 kB / 0.5715 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008748/0.9598, allocations: 6.426 MB / 0.5778 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/0.9617, allocations: 0.7977 MB / 0.5786 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005938/0.9623, allocations: 70.97 kB / 0.5786 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.964, allocations: 138.8 kB / 0.5788 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/0.9645, allocations: 221.6 kB / 0.579 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.9647, allocations: 85.56 kB / 0.579 GB, free: 126.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003078/0.9678, allocations: 2.467 MB / 0.5815 GB, free: 125.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9678, allocations: 0 / 0.5815 GB, free: 125.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00381/0.9716, allocations: 1.211 MB / 0.5826 GB, free: 125.8 MB / 446.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.0005262/0.9721, allocations: 220.5 kB / 0.5829 GB, free: 125.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01261/0.9848, allocations: 6.166 MB / 0.5889 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.9848, allocations: 4 kB / 0.5889 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.989, allocations: 2.977 MB / 0.5918 GB, free: 117.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/0.9945, allocations: 1.125 MB / 0.5929 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.015, allocations: 15.63 MB / 0.6081 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/1.018, allocations: 4.347 MB / 0.6124 GB, free: 96.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003419/1.022, allocations: 0.8981 MB / 0.6133 GB, free: 95.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/1.022, allocations: 275.4 kB / 0.6135 GB, free: 95.01 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/1.022, allocations: 0 / 0.6135 GB, free: 95.01 MB / 446.1 MB Notification: Performance of Templates: time 0.08872/1.111, allocations: 59.94 MB / 0.6721 GB, free: 35.01 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)