Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 100.3 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.001426/0.001426, 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.85/1.85, allocations: 205.4 MB / 222.1 MB, free: 5.758 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.0004964/0.0004965, allocations: 11.98 kB / 278.9 MB, free: 12.95 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3595, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.0125/0.3721, allocations: 9.508 MB / 336 MB, free: 10.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009089/0.3812, allocations: 3.733 MB / 339.7 MB, free: 6.266 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.3844, allocations: 51.75 kB / 339.7 MB, free: 6.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.387, allocations: 0.7269 MB / 340.5 MB, free: 5.484 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.3924, allocations: 0.8919 MB / 341.4 MB, free: 4.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.3938, allocations: 303.6 kB / 341.7 MB, free: 4.293 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005825/0.3996, allocations: 2.652 MB / 344.3 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003298/0.403, allocations: 2.201 MB / 346.5 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.4062, allocations: 1.292 MB / 347.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003863/0.4101, allocations: 1.638 MB / 349.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008109/0.4109, allocations: 212 kB / 349.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.412, allocations: 275.9 kB / 349.9 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.4132, allocations: 0.9932 MB / 350.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.4148, allocations: 0.7498 MB / 351.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006554/0.4214, allocations: 5.224 MB / 356.9 MB, free: 4.988 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.4214, allocations: 4 kB / 356.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4214, allocations: 0 / 356.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002785/0.4217, allocations: 0 / 356.9 MB, free: 4.984 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01027/0.432, allocations: 3.655 MB / 360.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.4321, allocations: 8.031 kB / 360.5 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.4346, allocations: 447 kB / 361 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006322/0.4409, allocations: 2.173 MB / 363.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.4412, allocations: 234.2 kB / 363.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007956/0.442, allocations: 300 kB / 363.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008523/0.4505, allocations: 4.319 MB / 368 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.506e-05/0.4506, allocations: 11.84 kB / 368 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/0.451, allocations: 132 kB / 368.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/0.4511, allocations: 134 kB / 368.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007655/0.4588, allocations: 3.775 MB / 372 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02528/0.4841, allocations: 13.56 MB / 385.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.4877, allocations: 2.907 MB / 388.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.488, allocations: 122.4 kB / 388.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.4881, allocations: 51.88 kB / 388.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.288e-06/0.4881, allocations: 0 / 388.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01867/0.5067, allocations: 9.35 MB / 398 MB, free: 10.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.5068, allocations: 73.41 kB / 398.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.5105, allocations: 2.283 MB / 400.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.5108, allocations: 61.69 kB / 400.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.5119, allocations: 1.462 MB / 401.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005741/0.5125, allocations: 0.6045 MB / 402.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.5126, allocations: 40 kB / 402.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.5128, allocations: 381.9 kB / 402.9 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.5147, allocations: 1.144 MB / 404.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.517, allocations: 1.578 MB / 405.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.5191, allocations: 1.361 MB / 407 MB, free: 1.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.5192, allocations: 0 / 407 MB, free: 1.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006883/0.526, allocations: 3.623 MB / 410.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.5261, allocations: 12 kB / 410.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.5262, allocations: 15.94 kB / 410.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.5283, allocations: 0.7985 MB / 411.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.5302, allocations: 455.3 kB / 411.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.5414, allocations: 10.51 MB / 422.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/0.5439, allocations: 127.9 kB / 422.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004098/0.5443, allocations: 79.98 kB / 422.6 MB, free: 1.281 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002685/0.547, allocations: 1.087 MB / 423.7 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007918/0.5478, allocations: 249 kB / 423.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007009/0.5548, allocations: 3.34 MB / 427.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.5549, allocations: 16 kB / 427.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.414e-05/0.5549, allocations: 11.94 kB / 427.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.5549, allocations: 7.969 kB / 427.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.5694, allocations: 6.878 MB / 434.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.5695, allocations: 4 kB / 434.2 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.5708, allocations: 291.6 kB / 434.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/0.5733, allocations: 0.9316 MB / 435.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/0.5736, allocations: 39.98 kB / 435.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.5882, allocations: 13.71 MB / 449.2 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5883, allocations: 0 / 449.2 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009573/0.5979, allocations: 5.07 MB / 454.2 MB, free: 412 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2757/0.8736, allocations: 0.5626 MB / 454.8 MB, free: 109.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/0.8747, allocations: 37.95 kB / 454.8 MB, free: 109.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/0.8766, allocations: 131.4 kB / 455 MB, free: 109.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006803/0.8772, allocations: 154.4 kB / 455.1 MB, free: 109.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/0.8774, allocations: 47.75 kB / 455.2 MB, free: 109.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004345/0.8818, allocations: 1.576 MB / 456.7 MB, free: 109.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8818, allocations: 0 / 456.7 MB, free: 109.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005366/0.8872, allocations: 0.7013 MB / 457.4 MB, free: 109.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007207/0.8879, allocations: 167.7 kB / 457.6 MB, free: 109.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007059/0.895, allocations: 3.621 MB / 461.2 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.8951, allocations: 3 kB / 461.2 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004244/0.8993, allocations: 2.534 MB / 463.8 MB, free: 106.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/0.9031, allocations: 0.6554 MB / 464.4 MB, free: 106.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.9165, allocations: 7.972 MB / 472.4 MB, free: 102.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.9186, allocations: 2.585 MB / 475 MB, free: 100.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002068/0.9207, allocations: 0.5866 MB / 475.6 MB, free: 99.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.9212, allocations: 155.9 kB / 475.7 MB, free: 99.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.904e-06/0.9212, allocations: 0 / 475.7 MB, free: 99.64 MB / 382.1 MB Notification: Performance of Templates: time 0.06642/0.9876, allocations: 38.23 MB / 0.5019 GB, free: 61.37 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) Environment - environmentSimulation: