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.0009912/0.0009917, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01025/0.01025, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.17/2.17, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005848/0.0005849, allocations: 12.38 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3993, allocations: 47.59 MB / 327 MB, free: 1.535 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01582/0.4152, allocations: 11.09 MB / 338.1 MB, free: 8.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.4297, allocations: 3.738 MB / 341.9 MB, free: 4.621 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004565/0.4344, allocations: 59.69 kB / 341.9 MB, free: 4.562 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.4384, allocations: 0.7458 MB / 342.7 MB, free: 3.812 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00737/0.4458, allocations: 0.9988 MB / 343.7 MB, free: 2.809 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.4485, allocations: 443.6 kB / 344.1 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.459, allocations: 4.897 MB / 349 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005147/0.4642, allocations: 2.643 MB / 351.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005074/0.4693, allocations: 1.42 MB / 353.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006604/0.476, allocations: 1.996 MB / 355 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.4777, allocations: 216 kB / 355.3 MB, free: 7.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.4802, allocations: 319.8 kB / 355.6 MB, free: 6.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001829/0.4821, allocations: 1.059 MB / 356.6 MB, free: 5.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00361/0.4857, allocations: 1.855 MB / 358.5 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008939/0.4946, allocations: 6.112 MB / 364.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.4947, allocations: 0 / 364.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.139e-06/0.4947, allocations: 4 kB / 364.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002877/0.495, allocations: 0 / 364.6 MB, free: 13.73 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.0108/0.5058, allocations: 3.636 MB / 368.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.5059, allocations: 12.03 kB / 368.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.5082, allocations: 440 kB / 368.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005486/0.5137, allocations: 2.231 MB / 370.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.514, allocations: 238.1 kB / 371.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007824/0.5148, allocations: 303.9 kB / 371.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009618/0.5244, allocations: 4.381 MB / 375.8 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.449e-05/0.5245, allocations: 3.906 kB / 375.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003319/0.5249, allocations: 136 kB / 376 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.5251, allocations: 134 kB / 376.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007825/0.5329, allocations: 3.791 MB / 379.9 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02629/0.5592, allocations: 13.63 MB / 393.5 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/0.5632, allocations: 2.907 MB / 396.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00327/0.5666, allocations: 1.7 MB / 398.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.5669, allocations: 126.4 kB / 398.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.5669, allocations: 55.88 kB / 398.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 4.339e-06/0.567, allocations: 0 / 398.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02219/0.5891, allocations: 9.304 MB / 407.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/0.5893, allocations: 73.39 kB / 407.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/0.5937, allocations: 2.357 MB / 410 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002967/0.594, allocations: 57.7 kB / 410.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.5955, allocations: 1.462 MB / 411.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007685/0.5963, allocations: 0.6046 MB / 412.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.5966, allocations: 173.6 kB / 412.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5967, allocations: 305.1 kB / 412.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.5986, allocations: 1.132 MB / 413.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.6007, allocations: 1.586 MB / 415.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/0.6048, allocations: 2.8 MB / 418.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.6048, allocations: 4 kB / 418.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006493/0.6113, allocations: 3.612 MB / 421.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.6114, allocations: 15.98 kB / 421.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.6114, allocations: 19.88 kB / 421.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/0.6135, allocations: 0.7947 MB / 422.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.6152, allocations: 459.3 kB / 423 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.6259, allocations: 10.31 MB / 433.3 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.6285, allocations: 131.9 kB / 433.5 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.6287, allocations: 76 kB / 433.5 MB, free: 6.633 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.002796/0.6315, allocations: 1.083 MB / 434.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007319/0.6323, allocations: 249 kB / 434.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00601/0.6383, allocations: 3.313 MB / 438.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.6384, allocations: 16 kB / 438.2 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.6384, allocations: 8 kB / 438.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.6384, allocations: 11.95 kB / 438.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.6514, allocations: 6.919 MB / 445.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.6514, allocations: 7.938 kB / 445.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.6528, allocations: 299.8 kB / 445.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/0.6553, allocations: 0.9158 MB / 446.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.6554, allocations: 39.98 kB / 446.4 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2763/0.9317, allocations: 13.46 MB / 459.8 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9317, allocations: 2.438 kB / 459.8 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007898/0.9396, allocations: 4.895 MB / 464.7 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.9411, allocations: 0.5632 MB / 465.3 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.9414, allocations: 43.97 kB / 465.3 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.9426, allocations: 132.3 kB / 465.5 MB, free: 105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/0.9431, allocations: 158.2 kB / 465.6 MB, free: 105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.743e-05/0.9432, allocations: 44.94 kB / 465.7 MB, free: 105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002116/0.9453, allocations: 1.632 MB / 467.3 MB, free: 104.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9453, allocations: 0 / 467.3 MB, free: 104.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002004/0.9473, allocations: 0.7058 MB / 468 MB, free: 104.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 (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.0004028/0.9477, allocations: 203.3 kB / 468.2 MB, free: 104.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004477/0.9522, allocations: 3.599 MB / 471.8 MB, free: 102.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.9522, allocations: 3.875 kB / 471.8 MB, free: 102.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002954/0.9552, allocations: 2.518 MB / 474.3 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/0.9592, allocations: 0.6648 MB / 475 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.9723, allocations: 8.337 MB / 483.3 MB, free: 92.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.9743, allocations: 2.517 MB / 485.9 MB, free: 89.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002876/0.9772, allocations: 0.5827 MB / 486.4 MB, free: 89.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007398/0.978, allocations: 155.4 kB / 486.6 MB, free: 88.99 MB / 382.1 MB Notification: Performance of SimCode: time 2.585e-06/0.978, allocations: 0 / 486.6 MB, free: 88.99 MB / 382.1 MB Notification: Performance of Templates: time 0.06679/1.045, allocations: 39.9 MB / 0.5141 GB, free: 49.04 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)