Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001468/0.001468, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.001811/0.001812, allocations: 195 kB / 18 MB, free: 5.105 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.876/1.876, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001329/0.001329, allocations: 55.88 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1575, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.3496/0.5071, allocations: 11.76 MB / 386.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.5194, allocations: 3.8 MB / 390.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005468/0.525, allocations: 66.78 kB / 390.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003966/0.529, allocations: 0.8719 MB / 391 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006598/0.5357, allocations: 1.076 MB / 392.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.538, allocations: 0.4888 MB / 392.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009751/0.5477, allocations: 4.265 MB / 396.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006012/0.5538, allocations: 3.219 MB / 400 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/0.559, allocations: 1.9 MB / 401.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006374/0.5654, allocations: 2.333 MB / 404.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002081/0.5675, allocations: 0.4957 MB / 404.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.5707, allocations: 0.5864 MB / 405.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002346/0.573, allocations: 1.404 MB / 406.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006335/0.5794, allocations: 2.207 MB / 409 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.5903, allocations: 6.549 MB / 415.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.5903, allocations: 0 / 415.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5903, allocations: 0 / 415.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002761/0.5906, allocations: 4 kB / 415.5 MB, free: 6.145 MB / 334.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.01454/0.6052, allocations: 4.286 MB / 419.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.6052, allocations: 19.88 kB / 419.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.6067, allocations: 436 kB / 420.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.6123, allocations: 2.254 MB / 422.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.6126, allocations: 234.1 kB / 422.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005907/0.6132, allocations: 304 kB / 423 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008774/0.6219, allocations: 4.369 MB / 427.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.882e-05/0.6221, allocations: 15.83 kB / 427.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003304/0.6224, allocations: 128 kB / 427.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.6226, allocations: 122 kB / 427.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007521/0.6301, allocations: 3.775 MB / 431.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02753/0.6577, allocations: 13.39 MB / 444.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/0.6615, allocations: 2.895 MB / 447.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.6643, allocations: 1.68 MB / 449.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.6646, allocations: 130.4 kB / 449.5 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.6647, allocations: 51.88 kB / 449.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 3.256e-06/0.6647, allocations: 0 / 449.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.02261/0.6873, allocations: 9.221 MB / 458.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.6875, allocations: 69.41 kB / 458.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004726/0.6922, allocations: 2.357 MB / 461.2 MB, free: 7.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003393/0.6926, allocations: 57.7 kB / 461.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.6939, allocations: 1.466 MB / 462.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007/0.6946, allocations: 0.6084 MB / 463.3 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006904/0.6953, allocations: 367.3 kB / 463.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6955, allocations: 305.1 kB / 464 MB, free: 4.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.6973, allocations: 1.128 MB / 465.1 MB, free: 3.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.6994, allocations: 1.567 MB / 466.7 MB, free: 2.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/0.7034, allocations: 2.784 MB / 469.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.7034, allocations: 4 kB / 469.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006743/0.7102, allocations: 3.588 MB / 473.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.7103, allocations: 8 kB / 473.1 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/0.7103, allocations: 15.94 kB / 473.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.7125, allocations: 0.8141 MB / 473.9 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.7143, allocations: 459.3 kB / 474.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.7257, allocations: 11.17 MB / 485.5 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.7284, allocations: 123.9 kB / 485.7 MB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.7286, allocations: 75.98 kB / 485.7 MB, free: 14.16 MB / 414.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.002276/0.7309, allocations: 1.087 MB / 486.8 MB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/0.7315, allocations: 248.9 kB / 487.1 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/0.7369, allocations: 3.301 MB / 490.4 MB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.7369, allocations: 23.98 kB / 490.4 MB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.737, allocations: 4 kB / 490.4 MB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.737, allocations: 7.969 kB / 490.4 MB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.749, allocations: 6.848 MB / 497.2 MB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.7491, allocations: 3.938 kB / 497.2 MB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.7504, allocations: 299.5 kB / 497.5 MB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/0.753, allocations: 0.9319 MB / 498.5 MB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.7532, allocations: 43.92 kB / 498.5 MB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.7704, allocations: 14.58 MB / 0.5011 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7704, allocations: 8.094 kB / 0.5011 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00905/0.7795, allocations: 4.865 MB / 0.5058 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/0.7817, allocations: 0.5682 MB / 0.5064 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/0.7821, allocations: 39.94 kB / 0.5064 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.7834, allocations: 127.9 kB / 0.5065 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004552/0.7838, allocations: 157.7 kB / 0.5067 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.784, allocations: 47.98 kB / 0.5067 GB, free: 11.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002972/0.7869, allocations: 1.625 MB / 0.5083 GB, free: 10.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.787, allocations: 0 / 0.5083 GB, free: 10.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002835/0.7898, allocations: 0.707 MB / 0.509 GB, free: 9.371 MB / 446.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.0005063/0.7903, allocations: 206.9 kB / 0.5092 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006104/0.7964, allocations: 3.59 MB / 0.5127 GB, free: 5.465 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.7965, allocations: 0 / 0.5127 GB, free: 5.465 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003864/0.8003, allocations: 2.508 MB / 0.5152 GB, free: 2.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/0.8041, allocations: 0.7217 MB / 0.5159 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.8179, allocations: 6.744 MB / 0.5225 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/0.8211, allocations: 2.521 MB / 0.5249 GB, free: 8.773 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002359/0.8235, allocations: 0.5866 MB / 0.5255 GB, free: 8.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005375/0.824, allocations: 159.4 kB / 0.5256 GB, free: 8.023 MB / 462.1 MB Notification: Performance of SimCode: time 1.031e-06/0.824, allocations: 0 / 0.5256 GB, free: 8.023 MB / 462.1 MB Notification: Performance of Templates: time 0.3772/1.201, allocations: 41.27 MB / 0.5659 GB, free: 148.5 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)