Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 98.22 kB / 16.31 MB, free: 5.992 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.001486/0.001486, allocations: 183.5 kB / 17.2 MB, free: 5.914 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.484/1.484, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.00059/0.0005901, allocations: 18.81 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2491, allocations: 47.59 MB / 327.7 MB, free: 1.633 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02078/0.2699, allocations: 18.95 MB / 346.7 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.2838, allocations: 6.36 MB / 353 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004435/0.2882, allocations: 131.4 kB / 353.1 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.2923, allocations: 1.154 MB / 354.3 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006868/0.2992, allocations: 1.916 MB / 356.2 MB, free: 7.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.3024, allocations: 0.9553 MB / 357.2 MB, free: 6.129 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009954/0.3123, allocations: 5.507 MB / 362.7 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006268/0.3186, allocations: 4.979 MB / 367.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004294/0.3229, allocations: 2.538 MB / 370.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004971/0.3279, allocations: 3.081 MB / 373.3 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.3289, allocations: 440 kB / 373.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.331, allocations: 0.6013 MB / 374.3 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.3324, allocations: 1.577 MB / 375.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002146/0.3346, allocations: 1.525 MB / 377.4 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.3457, allocations: 11.57 MB / 389 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3457, allocations: 4 kB / 389 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3457, allocations: 0 / 389 MB, free: 6.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000408/0.3461, allocations: 0 / 389 MB, free: 6.172 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.01994/0.3661, allocations: 7.472 MB / 396.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3661, allocations: 8.031 kB / 396.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009253/0.3754, allocations: 1.673 MB / 398.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009514/0.3849, allocations: 4.354 MB / 402.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004783/0.3854, allocations: 0.5176 MB / 403 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.3869, allocations: 0.6873 MB / 403.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.405, allocations: 9.337 MB / 413 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.4052, allocations: 16 kB / 413.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006797/0.4059, allocations: 284 kB / 413.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/0.4063, allocations: 330.2 kB / 413.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/0.4234, allocations: 8.028 MB / 421.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05899/0.4825, allocations: 28.86 MB / 450.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2085/0.691, allocations: 16.58 MB / 467.1 MB, free: 87.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01387/0.7049, allocations: 6.538 MB / 473.7 MB, free: 84.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.705, allocations: 73.5 kB / 473.7 MB, free: 84.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 5.911e-06/0.705, allocations: 0 / 473.7 MB, free: 84.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.02204/0.7271, allocations: 11.97 MB / 485.7 MB, free: 79.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.7272, allocations: 90.44 kB / 485.8 MB, free: 79.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.7315, allocations: 3.253 MB / 489 MB, free: 78.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002769/0.7318, allocations: 77.3 kB / 489.1 MB, free: 78.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.7331, allocations: 2.993 MB / 492.1 MB, free: 75.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000628/0.7338, allocations: 0.9891 MB / 493.1 MB, free: 74.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.7339, allocations: 70.66 kB / 493.2 MB, free: 74.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7341, allocations: 443.8 kB / 493.6 MB, free: 74.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.7361, allocations: 1.475 MB / 495.1 MB, free: 73.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.7386, allocations: 2.46 MB / 497.5 MB, free: 71.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.7409, allocations: 1.929 MB / 499.5 MB, free: 70.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.7409, allocations: 8 kB / 499.5 MB, free: 70.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.006339/0.7473, allocations: 4.888 MB / 0.4925 GB, free: 65.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.7473, allocations: 19.95 kB / 0.4926 GB, free: 65.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.867e-05/0.7474, allocations: 32 kB / 0.4926 GB, free: 65.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008897/0.7483, allocations: 428.9 kB / 0.493 GB, free: 64.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/0.7514, allocations: 0.8269 MB / 0.4938 GB, free: 64.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005276/0.7567, allocations: 7.724 MB / 0.5013 GB, free: 55.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.7598, allocations: 160 kB / 0.5015 GB, free: 55.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/0.7602, allocations: 156 kB / 0.5016 GB, free: 55.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * 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 (423): * Single equations (assignments): 417 * 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.003851/0.7641, allocations: 2.082 MB / 0.5037 GB, free: 53.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008302/0.7649, allocations: 371.5 kB / 0.504 GB, free: 53.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006515/0.7714, allocations: 4.507 MB / 0.5084 GB, free: 48.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.7715, allocations: 29.75 kB / 0.5085 GB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.7715, allocations: 12 kB / 0.5085 GB, free: 48.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-05/0.7716, allocations: 11.95 kB / 0.5085 GB, free: 48.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.7871, allocations: 10.66 MB / 0.5189 GB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.7872, allocations: 4 kB / 0.5189 GB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.789, allocations: 460 kB / 0.5193 GB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.7907, allocations: 0.8541 MB / 0.5202 GB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.7909, allocations: 71.98 kB / 0.5202 GB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.8032, allocations: 16.28 MB / 0.5361 GB, free: 18.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8032, allocations: 4 kB / 0.5361 GB, free: 18.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008507/0.8118, allocations: 6.831 MB / 0.5428 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/0.8136, allocations: 0.7658 MB / 0.5436 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004987/0.8141, allocations: 67.98 kB / 0.5436 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.8157, allocations: 147.9 kB / 0.5438 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/0.8161, allocations: 221.8 kB / 0.544 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.8163, allocations: 79.98 kB / 0.5441 GB, free: 10.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002764/0.819, allocations: 2.207 MB / 0.5462 GB, free: 8.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.819, allocations: 0 / 0.5462 GB, free: 8.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00402/0.8231, allocations: 1.151 MB / 0.5473 GB, free: 7.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (221): * Single equations (assignments): 214 * 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%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004458/0.8235, allocations: 218.3 kB / 0.5475 GB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005439/0.829, allocations: 4.327 MB / 0.5518 GB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.829, allocations: 0 / 0.5518 GB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003849/0.8328, allocations: 2.981 MB / 0.5547 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00446/0.8373, allocations: 0.9423 MB / 0.5556 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02493/0.8623, allocations: 14.72 MB / 0.57 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004958/0.8673, allocations: 4.354 MB / 0.5742 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003579/0.8709, allocations: 0.8485 MB / 0.5751 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/0.8716, allocations: 255.4 kB / 0.5753 GB, free: 10.21 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8717, allocations: 0 / 0.5753 GB, free: 10.21 MB / 414.1 MB Notification: Performance of Templates: time 0.2456/1.117, allocations: 51.52 MB / 0.6256 GB, free: 145.3 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) Environment - environmentSimulation: