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.001172/0.001172, allocations: 89.03 kB / 16.31 MB, free: 5.672 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.001406/0.001406, allocations: 175.8 kB / 17.2 MB, free: 5.59 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.43/1.43, allocations: 205.4 MB / 223.4 MB, free: 5.488 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.000464/0.000464, allocations: 12 kB / 280.2 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2584, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02197/0.2804, allocations: 20.85 MB / 348.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01571/0.2961, allocations: 6.139 MB / 354.7 MB, free: 8.457 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005131/0.3013, allocations: 135.4 kB / 354.9 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004385/0.3057, allocations: 1.114 MB / 356 MB, free: 7.203 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007473/0.3132, allocations: 1.74 MB / 357.7 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.3174, allocations: 0.9591 MB / 358.7 MB, free: 4.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.3298, allocations: 8.025 MB / 366.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.3417, allocations: 4.963 MB / 371.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005995/0.3478, allocations: 2.588 MB / 374.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007797/0.3556, allocations: 3.385 MB / 377.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002675/0.3583, allocations: 448 kB / 378.1 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.3626, allocations: 0.6326 MB / 378.7 MB, free: 348 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003339/0.366, allocations: 1.631 MB / 380.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003896/0.3699, allocations: 1.529 MB / 381.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01544/0.3854, allocations: 11.62 MB / 393.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.3855, allocations: 0 / 393.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3855, allocations: 3.938 kB / 393.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005195/0.386, allocations: 0 / 393.5 MB, free: 1.504 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.02335/0.4094, allocations: 7.499 MB / 401 MB, free: 9.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4094, allocations: 8.031 kB / 401 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.4197, allocations: 1.673 MB / 402.7 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.4307, allocations: 4.308 MB / 407 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006227/0.4313, allocations: 0.5215 MB / 407.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.4338, allocations: 0.6873 MB / 408.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02429/0.4581, allocations: 9.404 MB / 417.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.4583, allocations: 7.938 kB / 417.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007482/0.4591, allocations: 292 kB / 417.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003224/0.4594, allocations: 330.2 kB / 418.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.4785, allocations: 8.035 MB / 426.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06341/0.5419, allocations: 28.92 MB / 455.2 MB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2511/0.7931, allocations: 16.56 MB / 471.7 MB, free: 87.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005939/0.7991, allocations: 2.965 MB / 474.7 MB, free: 86.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.8106, allocations: 7.751 MB / 482.4 MB, free: 82.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.8107, allocations: 72.91 kB / 482.5 MB, free: 82.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=259): time 4.648e-06/0.8107, allocations: 0 / 482.5 MB, free: 82.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=265): time 0.01997/0.8307, allocations: 11.17 MB / 493.7 MB, free: 77.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.8307, allocations: 86.12 kB / 493.8 MB, free: 77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/0.8351, allocations: 3.347 MB / 497.1 MB, free: 74.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003453/0.8354, allocations: 65.7 kB / 497.2 MB, free: 74.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.837, allocations: 3.048 MB / 0.4885 GB, free: 71.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008569/0.8378, allocations: 0.9105 MB / 0.4894 GB, free: 70.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.838, allocations: 68 kB / 0.4895 GB, free: 70.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.8382, allocations: 441.2 kB / 0.4899 GB, free: 70.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.8403, allocations: 1.393 MB / 0.4912 GB, free: 68.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/0.8426, allocations: 2.438 MB / 0.4936 GB, free: 66.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.8449, allocations: 1.84 MB / 0.4954 GB, free: 64.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.8449, allocations: 8 kB / 0.4954 GB, free: 64.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006363/0.8513, allocations: 4.712 MB / 0.5 GB, free: 59.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.8513, allocations: 20.78 kB / 0.5 GB, free: 59.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.519e-05/0.8514, allocations: 32 kB / 0.5001 GB, free: 59.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008396/0.8522, allocations: 407.8 kB / 0.5005 GB, free: 58.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.8549, allocations: 0.7956 MB / 0.5012 GB, free: 58.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004874/0.8598, allocations: 7.331 MB / 0.5084 GB, free: 50.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.8625, allocations: 167.9 kB / 0.5086 GB, free: 50.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004168/0.863, allocations: 148 kB / 0.5087 GB, free: 50.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (411): * Single equations (assignments): 405 * 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%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00388/0.8669, allocations: 2.074 MB / 0.5107 GB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000855/0.8677, allocations: 363.6 kB / 0.5111 GB, free: 47.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00662/0.8743, allocations: 4.243 MB / 0.5152 GB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.8744, allocations: 27.94 kB / 0.5152 GB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.821e-05/0.8744, allocations: 12 kB / 0.5152 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/0.8745, allocations: 15.94 kB / 0.5153 GB, free: 43.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.8907, allocations: 9.882 MB / 0.5249 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.8908, allocations: 8.031 kB / 0.5249 GB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.8924, allocations: 407.4 kB / 0.5253 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.8943, allocations: 0.8519 MB / 0.5261 GB, free: 31.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.8946, allocations: 71.97 kB / 0.5262 GB, free: 31.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.9072, allocations: 16.06 MB / 0.5419 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.9073, allocations: 7.938 kB / 0.5419 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008758/0.916, allocations: 6.039 MB / 0.5478 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/0.9177, allocations: 0.7504 MB / 0.5485 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008157/0.9185, allocations: 71.97 kB / 0.5486 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/0.9205, allocations: 147.8 kB / 0.5487 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004394/0.921, allocations: 201.7 kB / 0.5489 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/0.9211, allocations: 79.97 kB / 0.549 GB, free: 7.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003766/0.9249, allocations: 2.263 MB / 0.5512 GB, free: 5.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9249, allocations: 0 / 0.5512 GB, free: 5.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004122/0.9291, allocations: 1.151 MB / 0.5523 GB, free: 3.883 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (198): * Single equations (assignments): 191 * 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 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004493/0.9295, allocations: 206.1 kB / 0.5525 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006039/0.9356, allocations: 4.124 MB / 0.5566 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.9356, allocations: 0 / 0.5566 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00462/0.9402, allocations: 2.862 MB / 0.5594 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005163/0.9454, allocations: 0.9652 MB / 0.5603 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/0.9691, allocations: 14.54 MB / 0.5745 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004551/0.9737, allocations: 4.227 MB / 0.5786 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00315/0.9769, allocations: 0.8326 MB / 0.5794 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006981/0.9776, allocations: 251.3 kB / 0.5797 GB, free: 7.547 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.9776, allocations: 0 / 0.5797 GB, free: 7.547 MB / 414.1 MB Notification: Performance of Templates: time 0.2688/1.246, allocations: 51.56 MB / 0.63 GB, free: 150.3 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (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)