Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008845/0.0008845, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.000895/0.000895, allocations: 177.3 kB / 15.94 MB, free: 228 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.419/1.419, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0005065/0.0005064, allocations: 14.81 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2591, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02414/0.2833, allocations: 22.23 MB / 348.7 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.3014, allocations: 7.623 MB / 356.3 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006801/0.3082, allocations: 155.2 kB / 356.5 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006091/0.3143, allocations: 1.469 MB / 357.9 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009545/0.3239, allocations: 2.364 MB / 360.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005112/0.3291, allocations: 1.127 MB / 361.4 MB, free: 456 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01561/0.3447, allocations: 8.357 MB / 369.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0123/0.3571, allocations: 7.286 MB / 377.1 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008516/0.3656, allocations: 3.924 MB / 381 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.3759, allocations: 4.684 MB / 385.7 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003624/0.3796, allocations: 0.6641 MB / 386.3 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/0.385, allocations: 0.8356 MB / 387.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005022/0.3901, allocations: 2.476 MB / 389.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006576/0.3967, allocations: 2.316 MB / 392 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02137/0.4181, allocations: 17.66 MB / 409.6 MB, free: 48 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4182, allocations: 0 / 409.6 MB, free: 48 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4182, allocations: 0 / 409.6 MB, free: 48 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0008161/0.419, allocations: 0 / 409.6 MB, free: 48 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.03373/0.4528, allocations: 11.16 MB / 420.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.4528, allocations: 16.03 kB / 420.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.4678, allocations: 2.324 MB / 423.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02109/0.4889, allocations: 7.232 MB / 430.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/0.49, allocations: 0.7426 MB / 431.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005157/0.4952, allocations: 0.9803 MB / 432.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04458/0.5398, allocations: 14.29 MB / 446.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00059/0.5404, allocations: 11.84 kB / 446.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004058/0.5445, allocations: 420 kB / 446.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005553/0.5451, allocations: 452.4 kB / 447.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4507/0.9958, allocations: 12.5 MB / 459.7 MB, free: 92.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0758/1.072, allocations: 44.3 MB / 0.4922 GB, free: 61.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/1.091, allocations: 25.05 MB / 0.5167 GB, free: 34.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01865/1.11, allocations: 10.01 MB / 0.5265 GB, free: 24.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/1.11, allocations: 82.08 kB / 0.5265 GB, free: 23.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=447): time 5.731e-06/1.11, allocations: 3.938 kB / 0.5265 GB, free: 23.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=455): time 0.04756/1.157, allocations: 23.05 MB / 0.549 GB, free: 0.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/1.157, allocations: 110.9 kB / 0.5492 GB, free: 432 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00845/1.166, allocations: 5.287 MB / 0.5543 GB, free: 11.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008215/1.167, allocations: 101.7 kB / 0.5544 GB, free: 11.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003465/1.17, allocations: 4.422 MB / 0.5587 GB, free: 6.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001705/1.172, allocations: 1.514 MB / 0.5602 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/1.172, allocations: 104 kB / 0.5603 GB, free: 5.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003907/1.173, allocations: 0.4972 MB / 0.5608 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/1.177, allocations: 2.512 MB / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005458/1.182, allocations: 3.728 MB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005229/1.187, allocations: 3.079 MB / 0.5699 GB, free: 10.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/1.187, allocations: 12 kB / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01522/1.203, allocations: 8.434 MB / 0.5781 GB, free: 2.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/1.203, allocations: 20 kB / 0.5782 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-05/1.203, allocations: 36 kB / 0.5782 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/1.206, allocations: 1.552 MB / 0.5797 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004743/1.211, allocations: 1.065 MB / 0.5807 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02676/1.238, allocations: 27.73 MB / 0.6078 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005274/1.243, allocations: 239.9 kB / 0.6081 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008039/1.244, allocations: 200 kB / 0.6082 GB, free: 1.383 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.2274/1.471, allocations: 3.303 MB / 0.6115 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/1.473, allocations: 0.5776 MB / 0.612 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/1.487, allocations: 8.257 MB / 0.6201 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-05/1.487, allocations: 47.34 kB / 0.6201 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.475e-05/1.487, allocations: 38.14 kB / 0.6202 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.871e-05/1.487, allocations: 22.64 kB / 0.6202 GB, free: 140.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03209/1.519, allocations: 17.61 MB / 0.6374 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/1.519, allocations: 5.062 kB / 0.6374 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/1.522, allocations: 0.5053 MB / 0.6379 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005203/1.527, allocations: 2.338 MB / 0.6402 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006813/1.528, allocations: 97.14 kB / 0.6403 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0313/1.559, allocations: 35.79 MB / 0.6752 GB, free: 95.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.559, allocations: 7.938 kB / 0.6752 GB, free: 95.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/1.577, allocations: 12.38 MB / 0.6873 GB, free: 83.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00431/1.581, allocations: 1.219 MB / 0.6885 GB, free: 82.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/1.583, allocations: 92 kB / 0.6886 GB, free: 82.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003652/1.586, allocations: 263.8 kB / 0.6889 GB, free: 82.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/1.588, allocations: 440.1 kB / 0.6893 GB, free: 81.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003112/1.588, allocations: 127.9 kB / 0.6894 GB, free: 81.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006058/1.594, allocations: 3.6 MB / 0.6929 GB, free: 78.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.594, allocations: 3.938 kB / 0.6929 GB, free: 78.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009384/1.603, allocations: 1.883 MB / 0.6948 GB, free: 76.21 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.001255/1.605, allocations: 259 kB / 0.695 GB, free: 75.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01341/1.618, allocations: 8.237 MB / 0.703 GB, free: 67.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/1.618, allocations: 4 kB / 0.7031 GB, free: 67.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009491/1.628, allocations: 5.983 MB / 0.7089 GB, free: 61.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008001/1.636, allocations: 1.574 MB / 0.7104 GB, free: 59.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/1.677, allocations: 22.31 MB / 0.7322 GB, free: 37.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/1.688, allocations: 6.563 MB / 0.7386 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006241/1.694, allocations: 1.315 MB / 0.7399 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/1.696, allocations: 347.4 kB / 0.7402 GB, free: 29.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/1.696, allocations: 4 kB / 0.7402 GB, free: 29.16 MB / 446.1 MB Notification: Performance of Templates: time 0.3529/2.049, allocations: 92.19 MB / 0.8303 GB, free: 111.4 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1) Environment - environmentSimulation: