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.000982/0.000982, allocations: 92.56 kB / 16.3 MB, free: 5.664 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.001084/0.001084, allocations: 183.3 kB / 17.2 MB, free: 5.605 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.375/1.375, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0004777/0.0004779, allocations: 12 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1095, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02487/0.1345, allocations: 20.25 MB / 348 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.1512, allocations: 6.885 MB / 354.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005484/0.1567, allocations: 139.4 kB / 355 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005462/0.1622, allocations: 1.263 MB / 356.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009242/0.1715, allocations: 2.068 MB / 358.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004508/0.176, allocations: 1.002 MB / 359.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.1889, allocations: 5.85 MB / 365.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00836/0.1973, allocations: 5.093 MB / 370.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.2028, allocations: 2.654 MB / 372.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007182/0.2101, allocations: 3.225 MB / 376.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002078/0.2122, allocations: 460 kB / 376.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/0.2158, allocations: 0.6286 MB / 377.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.2175, allocations: 1.628 MB / 378.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2135/0.4311, allocations: 1.595 MB / 380.4 MB, free: 18.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01715/0.4483, allocations: 11.97 MB / 392.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4483, allocations: 0 / 392.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4483, allocations: 1 kB / 392.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006282/0.449, allocations: 0 / 392.4 MB, free: 15.51 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.029/0.478, allocations: 7.792 MB / 400.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.4781, allocations: 9.25 kB / 400.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.4906, allocations: 1.747 MB / 402 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.5041, allocations: 4.556 MB / 406.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005022/0.5047, allocations: 0.5349 MB / 407 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003038/0.5077, allocations: 0.7122 MB / 407.8 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/0.5349, allocations: 9.674 MB / 417.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002498/0.5352, allocations: 8.281 kB / 417.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001389/0.5366, allocations: 295.3 kB / 417.7 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003737/0.537, allocations: 354.7 kB / 418.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02224/0.5593, allocations: 8.259 MB / 426.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1125/0.6718, allocations: 30.5 MB / 456.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03178/0.7037, allocations: 16.05 MB / 472.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03011/0.7338, allocations: 6.815 MB / 479.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.223e-05/0.734, allocations: 72.59 kB / 479.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=303): time 6.512e-06/0.734, allocations: 0 / 479.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=313): time 0.03176/0.7658, allocations: 12.55 MB / 492.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.7659, allocations: 81.88 kB / 492.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006567/0.7725, allocations: 3.474 MB / 495.9 MB, free: 11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007698/0.7733, allocations: 77.7 kB / 496 MB, free: 10.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002678/0.776, allocations: 3.16 MB / 499.1 MB, free: 7.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/0.7776, allocations: 1.076 MB / 0.4885 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.7778, allocations: 76 kB / 0.4885 GB, free: 6.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000287/0.7781, allocations: 454.2 kB / 0.489 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/0.781, allocations: 1.558 MB / 0.4905 GB, free: 4.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00372/0.7847, allocations: 2.66 MB / 0.4931 GB, free: 1.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/0.7882, allocations: 2.05 MB / 0.4951 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.7883, allocations: 8 kB / 0.4951 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=493) (initialization): time 0.0102/0.7985, allocations: 5.199 MB / 0.5002 GB, free: 10.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.7986, allocations: 20 kB / 0.5002 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.17e-05/0.7987, allocations: 36 kB / 0.5002 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.7999, allocations: 451.6 kB / 0.5007 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/0.8039, allocations: 0.9023 MB / 0.5015 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007901/0.8118, allocations: 7.729 MB / 0.5091 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004973/0.8168, allocations: 179.7 kB / 0.5093 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008931/0.8178, allocations: 168 kB / 0.5094 GB, free: 468 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * 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 (465): * Single equations (assignments): 459 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006375/0.8242, allocations: 2.141 MB / 0.5115 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/0.8257, allocations: 399.1 kB / 0.5119 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.8364, allocations: 4.747 MB / 0.5165 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/0.8364, allocations: 28 kB / 0.5166 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.805e-05/0.8365, allocations: 16 kB / 0.5166 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.096e-05/0.8365, allocations: 19.89 kB / 0.5166 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02894/0.8655, allocations: 11.25 MB / 0.5276 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/0.8656, allocations: 4 kB / 0.5276 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/0.8682, allocations: 497.7 kB / 0.5281 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/0.8707, allocations: 0.8536 MB / 0.5289 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005795/0.8713, allocations: 91.97 kB / 0.529 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2647/1.136, allocations: 16.4 MB / 0.545 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.514e-05/1.136, allocations: 9.156 kB / 0.545 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/1.148, allocations: 7.324 MB / 0.5521 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/1.151, allocations: 0.8094 MB / 0.5529 GB, free: 149.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006149/1.152, allocations: 79.44 kB / 0.553 GB, free: 149.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.153, allocations: 151.4 kB / 0.5532 GB, free: 149.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005428/1.154, allocations: 238.6 kB / 0.5534 GB, free: 149.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.154, allocations: 92.62 kB / 0.5535 GB, free: 149.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003825/1.158, allocations: 2.33 MB / 0.5558 GB, free: 148.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.158, allocations: 0 / 0.5558 GB, free: 148.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00594/1.164, allocations: 1.224 MB / 0.5569 GB, free: 148.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007251/1.165, allocations: 226.2 kB / 0.5572 GB, free: 148.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006919/1.172, allocations: 4.564 MB / 0.5616 GB, free: 146.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.172, allocations: 0 / 0.5616 GB, free: 146.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004466/1.176, allocations: 3.096 MB / 0.5646 GB, free: 144.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005668/1.182, allocations: 1.043 MB / 0.5657 GB, free: 144.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02469/1.206, allocations: 15.32 MB / 0.5806 GB, free: 132 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004438/1.211, allocations: 4.479 MB / 0.585 GB, free: 128.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003886/1.215, allocations: 0.9043 MB / 0.5859 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006957/1.216, allocations: 281.3 kB / 0.5861 GB, free: 127.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/1.216, allocations: 3.938 kB / 0.5861 GB, free: 127.7 MB / 446.1 MB Notification: Performance of Templates: time 0.09194/1.308, allocations: 55.22 MB / 0.6401 GB, free: 72.52 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: