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.001089/0.001089, allocations: 92 kB / 15.06 MB, free: 1.098 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.001369/0.001369, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.0005512/0.0005514, allocations: 14.81 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3502, allocations: 47.58 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01419/0.3644, allocations: 10.41 MB / 336.9 MB, free: 9.039 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.3756, allocations: 3.603 MB / 340.5 MB, free: 5.426 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.3791, allocations: 51.75 kB / 340.5 MB, free: 5.375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.3819, allocations: 0.6911 MB / 341.2 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005147/0.3871, allocations: 0.9402 MB / 342.2 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.3887, allocations: 307.6 kB / 342.5 MB, free: 3.434 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.008549/0.3972, allocations: 4.394 MB / 346.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/0.4009, allocations: 2.189 MB / 349.1 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/0.4051, allocations: 1.416 MB / 350.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.41, allocations: 1.915 MB / 352.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.4111, allocations: 220 kB / 352.6 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.413, allocations: 279.9 kB / 352.9 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.4145, allocations: 1.055 MB / 353.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.4164, allocations: 0.7498 MB / 354.7 MB, free: 7.148 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007128/0.4235, allocations: 5.279 MB / 360 MB, free: 1.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.4235, allocations: 0 / 360 MB, free: 1.855 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.157e-06/0.4236, allocations: 7.938 kB / 360 MB, free: 1.848 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002696/0.4238, allocations: 0 / 360 MB, free: 1.848 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.01153/0.4354, allocations: 3.675 MB / 363.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.4355, allocations: 11.97 kB / 363.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00282/0.4383, allocations: 451 kB / 364.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006054/0.4444, allocations: 2.153 MB / 366.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.4446, allocations: 230.2 kB / 366.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008479/0.4455, allocations: 308 kB / 366.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.4568, allocations: 4.35 MB / 371.1 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.734e-05/0.4569, allocations: 7.906 kB / 371.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003407/0.4573, allocations: 128 kB / 371.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.4575, allocations: 130 kB / 371.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008295/0.4658, allocations: 3.771 MB / 375.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03131/0.4971, allocations: 13.63 MB / 388.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004582/0.5017, allocations: 2.888 MB / 391.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00339/0.5052, allocations: 1.704 MB / 393.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.5056, allocations: 126.3 kB / 393.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.5056, allocations: 51.88 kB / 393.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 4.398e-06/0.5056, allocations: 4 kB / 393.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02339/0.529, allocations: 9.281 MB / 402.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.5292, allocations: 69.41 kB / 402.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005759/0.5349, allocations: 2.334 MB / 405.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.5352, allocations: 61.7 kB / 405.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.5368, allocations: 1.466 MB / 406.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007814/0.5376, allocations: 0.6006 MB / 407.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.5378, allocations: 40 kB / 407.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002759/0.5381, allocations: 389.8 kB / 407.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.5403, allocations: 1.124 MB / 408.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.5432, allocations: 1.578 MB / 410.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.5458, allocations: 1.337 MB / 411.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/0.5459, allocations: 4 kB / 411.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.008343/0.5542, allocations: 3.593 MB / 415.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.5543, allocations: 8 kB / 415.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-05/0.5544, allocations: 16 kB / 415.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/0.557, allocations: 0.8019 MB / 416.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.559, allocations: 455.3 kB / 416.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.5733, allocations: 10.3 MB / 427 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/0.5765, allocations: 123.9 kB / 427.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005941/0.5771, allocations: 75.98 kB / 427.2 MB, free: 12.65 MB / 366.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.00387/0.581, allocations: 1.095 MB / 428.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/0.5824, allocations: 253 kB / 428.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007978/0.5904, allocations: 3.305 MB / 431.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.5905, allocations: 16 kB / 431.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.653e-05/0.5905, allocations: 8 kB / 431.9 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.5906, allocations: 7.969 kB / 431.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.6081, allocations: 6.904 MB / 438.8 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.6082, allocations: 4 kB / 438.8 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.6096, allocations: 295.6 kB / 439.1 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/0.6123, allocations: 0.9277 MB / 440 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/0.6125, allocations: 39.98 kB / 440 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/0.6275, allocations: 13.43 MB / 453.5 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.6275, allocations: 3.953 kB / 453.5 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3422/0.9697, allocations: 4.871 MB / 458.3 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/0.9725, allocations: 0.5736 MB / 458.9 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005489/0.9731, allocations: 38.09 kB / 458.9 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.9746, allocations: 134.8 kB / 459.1 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/0.9751, allocations: 154.1 kB / 459.2 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.9753, allocations: 49.06 kB / 459.3 MB, free: 108 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003552/0.9789, allocations: 1.616 MB / 460.9 MB, free: 107.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9789, allocations: 0 / 460.9 MB, free: 107.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003343/0.9822, allocations: 0.7021 MB / 461.6 MB, free: 107.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.0005288/0.9828, allocations: 165.6 kB / 461.8 MB, free: 107.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005506/0.9883, allocations: 3.587 MB / 465.3 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.9883, allocations: 7.156 kB / 465.4 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003372/0.9917, allocations: 2.508 MB / 467.9 MB, free: 104 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/0.9957, allocations: 0.6831 MB / 468.5 MB, free: 103.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/1.009, allocations: 7.965 MB / 476.5 MB, free: 98.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/1.011, allocations: 2.52 MB / 479 MB, free: 95.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002042/1.013, allocations: 0.5866 MB / 479.6 MB, free: 95.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.013, allocations: 159.4 kB / 479.8 MB, free: 95.02 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/1.013, allocations: 0 / 479.8 MB, free: 95.02 MB / 382.1 MB Notification: Performance of Templates: time 0.06725/1.081, allocations: 38.84 MB / 0.5065 GB, free: 56.13 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (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)