Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001571/0.001571, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002402/0.002402, allocations: 189.6 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.001276/0.001277, allocations: 55.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4579, allocations: 46.62 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01925/0.4773, allocations: 11.67 MB / 336.5 MB, free: 8.383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.4908, allocations: 3.753 MB / 340.3 MB, free: 4.617 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005754/0.4966, allocations: 55.69 kB / 340.3 MB, free: 4.562 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005327/0.5021, allocations: 0.7653 MB / 341.1 MB, free: 3.793 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008218/0.5104, allocations: 0.9871 MB / 342.1 MB, free: 2.801 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.5132, allocations: 447.6 kB / 342.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009896/0.5231, allocations: 4.246 MB / 346.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006965/0.5301, allocations: 3.206 MB / 350 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005724/0.5359, allocations: 1.904 MB / 351.9 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006911/0.5429, allocations: 2.39 MB / 354.3 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002938/0.5459, allocations: 0.4961 MB / 354.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.5497, allocations: 0.5819 MB / 355.3 MB, free: 5.438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003498/0.5533, allocations: 1.406 MB / 356.8 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008118/0.5614, allocations: 2.205 MB / 359 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.5735, allocations: 6.488 MB / 365.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.5736, allocations: 0 / 365.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5736, allocations: 0 / 365.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.00037/0.574, allocations: 0 / 365.4 MB, free: 11.3 MB / 302.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.01774/0.5917, allocations: 4.294 MB / 369.7 MB, free: 6.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.525e-05/0.5918, allocations: 15.89 kB / 369.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.5936, allocations: 436.1 kB / 370.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005524/0.5991, allocations: 2.227 MB / 372.4 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.5994, allocations: 238.1 kB / 372.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005929/0.6, allocations: 315.8 kB / 373 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.6106, allocations: 4.369 MB / 377.3 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-05/0.6107, allocations: 7.938 kB / 377.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/0.6111, allocations: 128 kB / 377.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.6113, allocations: 130 kB / 377.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008146/0.6194, allocations: 3.767 MB / 381.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03758/0.657, allocations: 13.54 MB / 394.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.6616, allocations: 2.911 MB / 397.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/0.6647, allocations: 1.684 MB / 399.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.6651, allocations: 126.4 kB / 399.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.104e-05/0.6651, allocations: 51.88 kB / 399.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.827e-06/0.6652, allocations: 0 / 399.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02122/0.6864, allocations: 9.211 MB / 408.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.6865, allocations: 73.41 kB / 408.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004877/0.6914, allocations: 2.361 MB / 411.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004508/0.6919, allocations: 53.7 kB / 411.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.6935, allocations: 1.47 MB / 412.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001095/0.6946, allocations: 0.6007 MB / 413.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008361/0.6954, allocations: 371.2 kB / 413.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.6956, allocations: 305.1 kB / 414.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.6978, allocations: 1.124 MB / 415.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.7004, allocations: 1.571 MB / 416.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/0.7047, allocations: 2.788 MB / 419.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.7047, allocations: 4 kB / 419.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00689/0.7116, allocations: 3.588 MB / 423.2 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.7117, allocations: 12 kB / 423.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/0.7117, allocations: 16.44 kB / 423.2 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.714, allocations: 0.8059 MB / 424 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.7159, allocations: 463.2 kB / 424.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.7288, allocations: 11.17 MB / 435.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/0.7322, allocations: 127.8 kB / 435.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.7326, allocations: 76 kB / 435.8 MB, free: 2.746 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 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003078/0.7357, allocations: 1.083 MB / 436.9 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009681/0.7367, allocations: 256.9 kB / 437.1 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005991/0.7427, allocations: 3.301 MB / 440.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.7427, allocations: 19.98 kB / 440.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.7427, allocations: 8 kB / 440.5 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.7428, allocations: 7.969 kB / 440.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.7573, allocations: 6.892 MB / 447.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.7574, allocations: 0 / 447.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.7587, allocations: 303.5 kB / 447.7 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002816/0.7616, allocations: 0.9316 MB / 448.6 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/0.7618, allocations: 43.97 kB / 448.6 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3682/1.13, allocations: 14.59 MB / 463.2 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.13, allocations: 2.188 kB / 463.2 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009171/1.139, allocations: 4.859 MB / 468.1 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001981/1.141, allocations: 0.5651 MB / 468.7 MB, free: 101.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/1.142, allocations: 35.81 kB / 468.7 MB, free: 101.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.143, allocations: 123.1 kB / 468.8 MB, free: 101.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006159/1.144, allocations: 158.6 kB / 469 MB, free: 101.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.144, allocations: 47.41 kB / 469 MB, free: 101.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002396/1.146, allocations: 1.632 MB / 470.7 MB, free: 100.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.146, allocations: 0 / 470.7 MB, free: 100.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002703/1.149, allocations: 0.7015 MB / 471.4 MB, free: 100.8 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 (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004952/1.149, allocations: 217.3 kB / 471.6 MB, free: 100.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008174/1.158, allocations: 4.848 MB / 476.4 MB, free: 97.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.158, allocations: 1.594 kB / 476.4 MB, free: 97.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003171/1.161, allocations: 2.516 MB / 478.9 MB, free: 95.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/1.165, allocations: 0.7059 MB / 479.6 MB, free: 94.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.177, allocations: 8.187 MB / 487.8 MB, free: 86.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/1.179, allocations: 2.527 MB / 490.4 MB, free: 84.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002364/1.182, allocations: 0.5788 MB / 490.9 MB, free: 83.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/1.182, allocations: 155.4 kB / 491.1 MB, free: 83.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/1.182, allocations: 0 / 491.1 MB, free: 83.28 MB / 382.1 MB Notification: Performance of Templates: time 0.0729/1.255, allocations: 42.08 MB / 0.5207 GB, free: 41.17 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)