Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_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.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 94.55 kB / 16.3 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.001357/0.001357, allocations: 181.3 kB / 17.19 MB, free: 5.906 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.4/1.4, allocations: 205.4 MB / 223.4 MB, free: 5.559 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.0005745/0.0005746, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2728, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02474/0.2976, allocations: 22.24 MB / 349.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.3137, allocations: 7.611 MB / 357.6 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006466/0.3202, allocations: 155.2 kB / 357.7 MB, free: 5.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006072/0.3263, allocations: 1.473 MB / 359.2 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.3372, allocations: 2.368 MB / 361.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.342, allocations: 1.119 MB / 362.7 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.3573, allocations: 8.349 MB / 371 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01034/0.3677, allocations: 7.267 MB / 378.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007161/0.3749, allocations: 3.932 MB / 382.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008949/0.3839, allocations: 4.68 MB / 386.9 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002952/0.3869, allocations: 0.6641 MB / 387.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004638/0.3915, allocations: 0.8355 MB / 388.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004201/0.3958, allocations: 2.473 MB / 390.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005461/0.4012, allocations: 2.316 MB / 393.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02142/0.4227, allocations: 17.66 MB / 410.8 MB, free: 104 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.4227, allocations: 3.938 kB / 410.8 MB, free: 100 kB / 334.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.4227, allocations: 0 / 410.8 MB, free: 100 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007211/0.4235, allocations: 8 kB / 410.9 MB, free: 92 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03363/0.4571, allocations: 11.16 MB / 422 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4572, allocations: 12.02 kB / 422 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.4718, allocations: 2.332 MB / 424.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/0.4912, allocations: 7.228 MB / 431.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009802/0.4922, allocations: 0.7465 MB / 432.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004399/0.4967, allocations: 0.9764 MB / 433.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03618/0.5329, allocations: 14.29 MB / 447.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006906/0.5336, allocations: 15.84 kB / 447.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003717/0.5374, allocations: 412 kB / 448 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007103/0.5381, allocations: 456.4 kB / 448.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4195/0.9577, allocations: 12.5 MB / 461 MB, free: 92.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08006/1.038, allocations: 44.3 MB / 0.4934 GB, free: 61.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01874/1.057, allocations: 25.06 MB / 0.5179 GB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02387/1.08, allocations: 10.01 MB / 0.5277 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.652e-05/1.081, allocations: 90.08 kB / 0.5277 GB, free: 24.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=447): time 6.201e-06/1.081, allocations: 3.938 kB / 0.5277 GB, free: 24.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=455): time 0.05626/1.137, allocations: 23.05 MB / 0.5503 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/1.137, allocations: 102.9 kB / 0.5504 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/1.149, allocations: 5.298 MB / 0.5555 GB, free: 11.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.15, allocations: 97.7 kB / 0.5556 GB, free: 11.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004276/1.155, allocations: 4.425 MB / 0.5599 GB, free: 6.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002498/1.157, allocations: 1.51 MB / 0.5614 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007411/1.158, allocations: 104 kB / 0.5615 GB, free: 5.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004871/1.158, allocations: 0.4972 MB / 0.562 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005143/1.163, allocations: 2.508 MB / 0.5645 GB, free: 2.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00628/1.17, allocations: 3.728 MB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006035/1.176, allocations: 3.083 MB / 0.5711 GB, free: 10.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-05/1.176, allocations: 12 kB / 0.5711 GB, free: 10.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01536/1.191, allocations: 8.43 MB / 0.5793 GB, free: 2.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/1.191, allocations: 20.81 kB / 0.5794 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.546e-05/1.191, allocations: 40 kB / 0.5794 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003733/1.195, allocations: 1.555 MB / 0.5809 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/1.2, allocations: 1.065 MB / 0.582 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0284/1.229, allocations: 27.71 MB / 0.609 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005839/1.234, allocations: 235.9 kB / 0.6093 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/1.236, allocations: 200 kB / 0.6094 GB, free: 1.473 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 543 * 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: 14 * 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: 14 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 25,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2661/1.502, allocations: 3.306 MB / 0.6127 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001826/1.504, allocations: 0.5808 MB / 0.6132 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.518, allocations: 8.261 MB / 0.6213 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/1.518, allocations: 43.47 kB / 0.6213 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.153e-05/1.518, allocations: 38.98 kB / 0.6214 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/1.518, allocations: 22.69 kB / 0.6214 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03271/1.55, allocations: 17.61 MB / 0.6386 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.551, allocations: 7.219 kB / 0.6386 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/1.553, allocations: 0.5051 MB / 0.6391 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005653/1.558, allocations: 2.346 MB / 0.6414 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006896/1.559, allocations: 100.6 kB / 0.6415 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0343/1.594, allocations: 35.79 MB / 0.6764 GB, free: 96.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.594, allocations: 7.938 kB / 0.6764 GB, free: 96.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/1.614, allocations: 12.38 MB / 0.6885 GB, free: 83.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004698/1.618, allocations: 1.219 MB / 0.6897 GB, free: 82.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002259/1.621, allocations: 92 kB / 0.6898 GB, free: 82.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004857/1.626, allocations: 263.8 kB / 0.6901 GB, free: 82.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001504/1.627, allocations: 435.3 kB / 0.6905 GB, free: 81.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005849/1.628, allocations: 131.9 kB / 0.6906 GB, free: 81.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007568/1.635, allocations: 3.592 MB / 0.6941 GB, free: 78.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.635, allocations: 3.938 kB / 0.6941 GB, free: 78.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009843/1.645, allocations: 1.891 MB / 0.696 GB, free: 76.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (aimsM.inertiaRotor.w,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aims3.inertiaRotor.w,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.zeroInductor.i0,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 256 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(11,49.6%) 56,(1,100.0%) 1,(6,72.2%) 46,(2,100.0%) 12,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(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.001257/1.646, allocations: 256.2 kB / 0.6962 GB, free: 76.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01315/1.66, allocations: 8.24 MB / 0.7043 GB, free: 67.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.66, allocations: 0 / 0.7043 GB, free: 67.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009414/1.669, allocations: 5.98 MB / 0.7101 GB, free: 61.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008761/1.678, allocations: 1.574 MB / 0.7116 GB, free: 59.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04412/1.722, allocations: 22.31 MB / 0.7334 GB, free: 37.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/1.733, allocations: 6.563 MB / 0.7398 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006307/1.74, allocations: 1.315 MB / 0.7411 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.741, allocations: 347.4 kB / 0.7414 GB, free: 29.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/1.741, allocations: 0 / 0.7414 GB, free: 29.29 MB / 446.1 MB Notification: Performance of Templates: time 0.3954/2.137, allocations: 92.19 MB / 0.8315 GB, free: 111.6 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1) Environment - environmentSimulation: