Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.000839/0.0008391, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009036/0.0009036, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004547/0.0004547, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2572, allocations: 47.59 MB / 326.5 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02682/0.2841, allocations: 24.55 MB / 351 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.3038, allocations: 7.301 MB / 358.3 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008239/0.3121, allocations: 163.2 kB / 358.5 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006778/0.3189, allocations: 1.366 MB / 359.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009694/0.3287, allocations: 2.218 MB / 362.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005374/0.3341, allocations: 1.119 MB / 363.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01924/0.3534, allocations: 12.51 MB / 375.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0175/0.3709, allocations: 7.279 MB / 383 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009316/0.3803, allocations: 4.008 MB / 387 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01023/0.3906, allocations: 5.19 MB / 392.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003878/0.3945, allocations: 0.6719 MB / 392.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005455/0.3999, allocations: 0.8513 MB / 393.7 MB, free: 164 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005105/0.4051, allocations: 2.589 MB / 396.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006187/0.4113, allocations: 2.316 MB / 398.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02342/0.4348, allocations: 17.74 MB / 416.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.4348, allocations: 0 / 416.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4348, allocations: 0 / 416.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008309/0.4356, allocations: 0 / 416.4 MB, free: 9.445 MB / 350.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.03512/0.4708, allocations: 11.19 MB / 427.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/0.4709, allocations: 15.97 kB / 427.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/0.4855, allocations: 2.321 MB / 429.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02136/0.5069, allocations: 7.224 MB / 437.1 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001569/0.5085, allocations: 0.7426 MB / 437.9 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005016/0.5135, allocations: 0.988 MB / 438.9 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04446/0.558, allocations: 14.38 MB / 453.2 MB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005412/0.5586, allocations: 11.94 kB / 453.2 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003317/0.5619, allocations: 412 kB / 453.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005166/0.5625, allocations: 456.4 kB / 454.1 MB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.381/0.9435, allocations: 12.5 MB / 466.6 MB, free: 92.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08031/1.024, allocations: 44.34 MB / 0.4989 GB, free: 54.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/1.044, allocations: 25.05 MB / 0.5234 GB, free: 27.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008717/1.053, allocations: 4.999 MB / 0.5283 GB, free: 22.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02508/1.078, allocations: 12.2 MB / 0.5402 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.907e-05/1.078, allocations: 93.84 kB / 0.5403 GB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=425): time 7.764e-06/1.078, allocations: 4 kB / 0.5403 GB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=431): time 0.05724/1.135, allocations: 22.36 MB / 0.5621 GB, free: 3.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.136, allocations: 102.7 kB / 0.5622 GB, free: 3.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/1.148, allocations: 5.351 MB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001002/1.149, allocations: 109.6 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004112/1.153, allocations: 4.453 MB / 0.5719 GB, free: 9.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001958/1.155, allocations: 1.438 MB / 0.5733 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007242/1.155, allocations: 100 kB / 0.5734 GB, free: 8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004655/1.156, allocations: 0.5007 MB / 0.5739 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005158/1.161, allocations: 2.434 MB / 0.5763 GB, free: 5.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006524/1.168, allocations: 3.691 MB / 0.5799 GB, free: 0.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006162/1.174, allocations: 2.999 MB / 0.5828 GB, free: 13.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-05/1.174, allocations: 12 kB / 0.5828 GB, free: 13.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01729/1.191, allocations: 8.235 MB / 0.5909 GB, free: 5.457 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/1.191, allocations: 20 kB / 0.5909 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.541e-05/1.191, allocations: 40 kB / 0.5909 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003941/1.195, allocations: 1.532 MB / 0.5924 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/1.2, allocations: 1.026 MB / 0.5934 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2081/1.408, allocations: 26.86 MB / 0.6197 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004255/1.412, allocations: 236.6 kB / 0.6199 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007879/1.413, allocations: 207.9 kB / 0.6201 GB, free: 134.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * 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 (546): * Single equations (assignments): 530 * 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%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 22,(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.0068/1.42, allocations: 3.299 MB / 0.6233 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.421, allocations: 0.571 MB / 0.6239 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.433, allocations: 7.995 MB / 0.6317 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.433, allocations: 43.31 kB / 0.6317 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.633e-05/1.433, allocations: 27.66 kB / 0.6317 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-05/1.433, allocations: 23.06 kB / 0.6318 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/1.457, allocations: 16.74 MB / 0.6481 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.457, allocations: 5.25 kB / 0.6481 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.459, allocations: 471.8 kB / 0.6486 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004589/1.463, allocations: 2.342 MB / 0.6508 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003606/1.464, allocations: 94.34 kB / 0.6509 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02872/1.492, allocations: 34.88 MB / 0.685 GB, free: 86.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.493, allocations: 0 / 0.685 GB, free: 86.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/1.508, allocations: 11.41 MB / 0.6961 GB, free: 75.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/1.511, allocations: 1.198 MB / 0.6973 GB, free: 74.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.512, allocations: 83.98 kB / 0.6974 GB, free: 74.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/1.514, allocations: 251.8 kB / 0.6976 GB, free: 74.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009492/1.515, allocations: 431.1 kB / 0.698 GB, free: 73.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.516, allocations: 116 kB / 0.6981 GB, free: 73.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005264/1.521, allocations: 3.643 MB / 0.7017 GB, free: 70.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.521, allocations: 0 / 0.7017 GB, free: 70.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006985/1.528, allocations: 1.869 MB / 0.7035 GB, free: 68.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (245): * Single equations (assignments): 232 * 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 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(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.0008377/1.529, allocations: 241.4 kB / 0.7038 GB, free: 67.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01005/1.539, allocations: 8.036 MB / 0.7116 GB, free: 59.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.539, allocations: 4.25 kB / 0.7116 GB, free: 59.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008313/1.547, allocations: 5.752 MB / 0.7172 GB, free: 53.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00935/1.557, allocations: 1.639 MB / 0.7188 GB, free: 52.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04044/1.597, allocations: 22.1 MB / 0.7404 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006851/1.604, allocations: 6.378 MB / 0.7466 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005021/1.609, allocations: 1.299 MB / 0.7479 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.61, allocations: 343.4 kB / 0.7482 GB, free: 21.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.512e-06/1.61, allocations: 0 / 0.7482 GB, free: 21.95 MB / 446.1 MB Notification: Performance of Templates: time 0.3594/1.97, allocations: 91.93 MB / 0.838 GB, free: 102.9 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)