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.001256/0.001256, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001342/0.001342, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.38/1.38, allocations: 205.4 MB / 223.4 MB, free: 5.785 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.0004285/0.0004285, allocations: 12 kB / 280.2 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 47.59 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02497/0.2416, allocations: 24.55 MB / 352.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.2572, allocations: 7.301 MB / 359.6 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004952/0.2622, allocations: 163.2 kB / 359.8 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005102/0.2673, allocations: 1.37 MB / 361.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008154/0.2755, allocations: 2.222 MB / 363.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.2802, allocations: 1.111 MB / 364.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01803/0.2982, allocations: 12.52 MB / 377 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01421/0.3125, allocations: 7.282 MB / 384.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008826/0.3213, allocations: 4.016 MB / 388.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00964/0.331, allocations: 5.19 MB / 393.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002984/0.334, allocations: 0.668 MB / 394.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.3388, allocations: 0.8436 MB / 395 MB, free: 32 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004576/0.3434, allocations: 2.593 MB / 397.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004943/0.3484, allocations: 2.316 MB / 399.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02147/0.3699, allocations: 17.74 MB / 417.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.37, allocations: 11.92 kB / 417.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.37, allocations: 0 / 417.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007074/0.3707, allocations: 0 / 417.6 MB, free: 9.301 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.03495/0.4057, allocations: 11.18 MB / 428.8 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4057, allocations: 12.03 kB / 428.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.4196, allocations: 2.324 MB / 431.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01723/0.4369, allocations: 7.224 MB / 438.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009068/0.4379, allocations: 0.7464 MB / 439.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003397/0.4413, allocations: 0.9919 MB / 440.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/0.4816, allocations: 14.36 MB / 454.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003357/0.482, allocations: 7.938 kB / 454.5 MB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002792/0.4848, allocations: 420 kB / 454.9 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004749/0.4852, allocations: 452.4 kB / 455.3 MB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3794/0.8647, allocations: 12.5 MB / 467.8 MB, free: 92.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08612/0.9509, allocations: 44.33 MB / 0.5002 GB, free: 54.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/0.9716, allocations: 25.07 MB / 0.5246 GB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008796/0.9804, allocations: 4.992 MB / 0.5295 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02371/1.004, allocations: 12.21 MB / 0.5414 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/1.004, allocations: 81.91 kB / 0.5415 GB, free: 10.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=425): time 7.434e-06/1.004, allocations: 0 / 0.5415 GB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=431): time 0.05505/1.059, allocations: 22.37 MB / 0.5634 GB, free: 3.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/1.06, allocations: 98.8 kB / 0.5635 GB, free: 3.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009305/1.069, allocations: 5.353 MB / 0.5687 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008162/1.07, allocations: 101.7 kB / 0.5688 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003458/1.073, allocations: 4.457 MB / 0.5731 GB, free: 9.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001833/1.075, allocations: 1.445 MB / 0.5746 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/1.075, allocations: 104 kB / 0.5747 GB, free: 7.738 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003146/1.076, allocations: 0.4968 MB / 0.5751 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004254/1.08, allocations: 2.43 MB / 0.5775 GB, free: 4.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005063/1.085, allocations: 3.691 MB / 0.5811 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005294/1.09, allocations: 2.999 MB / 0.584 GB, free: 13.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.635e-05/1.09, allocations: 12 kB / 0.5841 GB, free: 13.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01577/1.106, allocations: 8.239 MB / 0.5921 GB, free: 5.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/1.106, allocations: 20 kB / 0.5921 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.817e-05/1.106, allocations: 36 kB / 0.5922 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003796/1.11, allocations: 1.536 MB / 0.5937 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/1.115, allocations: 1.026 MB / 0.5947 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.24/1.355, allocations: 26.86 MB / 0.6209 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/1.359, allocations: 235.2 kB / 0.6211 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.361, allocations: 205.1 kB / 0.6213 GB, free: 134.4 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.006942/1.368, allocations: 3.299 MB / 0.6245 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/1.369, allocations: 0.5738 MB / 0.6251 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.381, allocations: 7.99 MB / 0.6329 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/1.381, allocations: 42.31 kB / 0.6329 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.196e-05/1.381, allocations: 27.59 kB / 0.633 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-05/1.381, allocations: 18.47 kB / 0.633 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03217/1.413, allocations: 16.75 MB / 0.6493 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/1.413, allocations: 3.625 kB / 0.6493 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/1.415, allocations: 473 kB / 0.6498 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00474/1.42, allocations: 2.335 MB / 0.6521 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004431/1.42, allocations: 95.14 kB / 0.6522 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02903/1.45, allocations: 34.88 MB / 0.6862 GB, free: 86.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.45, allocations: 4 kB / 0.6862 GB, free: 86.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.465, allocations: 11.39 MB / 0.6973 GB, free: 75.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/1.468, allocations: 1.202 MB / 0.6985 GB, free: 74.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.469, allocations: 84.25 kB / 0.6986 GB, free: 74.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.472, allocations: 255.8 kB / 0.6988 GB, free: 74.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009905/1.473, allocations: 431.1 kB / 0.6993 GB, free: 73.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/1.473, allocations: 116 kB / 0.6994 GB, free: 73.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004981/1.478, allocations: 3.639 MB / 0.7029 GB, free: 69.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.478, allocations: 4 kB / 0.7029 GB, free: 69.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005949/1.484, allocations: 1.871 MB / 0.7048 GB, free: 68.06 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.0005537/1.485, allocations: 246.1 kB / 0.705 GB, free: 67.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009546/1.494, allocations: 8.03 MB / 0.7128 GB, free: 59.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.494, allocations: 4 kB / 0.7128 GB, free: 59.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006666/1.501, allocations: 5.749 MB / 0.7184 GB, free: 53.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007472/1.508, allocations: 1.644 MB / 0.7201 GB, free: 52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03337/1.542, allocations: 22.1 MB / 0.7416 GB, free: 29.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00735/1.549, allocations: 6.375 MB / 0.7479 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005075/1.554, allocations: 1.299 MB / 0.7491 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.556, allocations: 339.4 kB / 0.7495 GB, free: 21.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/1.556, allocations: 0 / 0.7495 GB, free: 21.8 MB / 446.1 MB Notification: Performance of Templates: time 0.3447/1.9, allocations: 91.92 MB / 0.8392 GB, free: 102.9 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (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)