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.0009805/0.0009808, allocations: 89.06 kB / 16.65 MB, free: 6.59 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.001133/0.001133, allocations: 185 kB / 17.57 MB, free: 6.199 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.985/1.985, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0005645/0.0005645, allocations: 16 kB / 280.7 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 47.58 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01294/0.1441, allocations: 11.08 MB / 339.4 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009281/0.1534, allocations: 3.737 MB / 343.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.1566, allocations: 55.69 kB / 343.2 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.16, allocations: 0.742 MB / 343.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005645/0.1657, allocations: 0.9987 MB / 344.9 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.1676, allocations: 447.6 kB / 345.4 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008722/0.1763, allocations: 4.905 MB / 350.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004809/0.1812, allocations: 2.643 MB / 352.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.185, allocations: 1.424 MB / 354.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.19, allocations: 1.992 MB / 356.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.1914, allocations: 216 kB / 356.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.1937, allocations: 319.8 kB / 356.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.1953, allocations: 1.063 MB / 357.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004002/0.1994, allocations: 1.852 MB / 359.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.2116, allocations: 6.116 MB / 365.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.2117, allocations: 0 / 365.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.731e-06/0.2117, allocations: 4 kB / 365.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004854/0.2122, allocations: 3.938 kB / 365.9 MB, free: 13.94 MB / 318.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.01473/0.2269, allocations: 3.632 MB / 369.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.371e-05/0.227, allocations: 12.03 kB / 369.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.2296, allocations: 444 kB / 370 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006318/0.2359, allocations: 2.231 MB / 372.2 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.2362, allocations: 238.1 kB / 372.4 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.2374, allocations: 307.9 kB / 372.7 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.249, allocations: 4.369 MB / 377.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.2492, allocations: 11.84 kB / 377.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/0.2497, allocations: 132 kB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.2498, allocations: 134 kB / 377.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.301/0.5508, allocations: 3.782 MB / 381.2 MB, free: 31.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03646/0.5873, allocations: 13.63 MB / 394.8 MB, free: 27.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/0.5915, allocations: 2.9 MB / 397.7 MB, free: 25.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/0.5945, allocations: 1.695 MB / 399.4 MB, free: 24.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/0.5949, allocations: 130.6 kB / 399.5 MB, free: 24.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/0.5949, allocations: 54.53 kB / 399.6 MB, free: 24.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 3.697e-06/0.5949, allocations: 0 / 399.6 MB, free: 24.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01909/0.614, allocations: 9.311 MB / 408.9 MB, free: 19.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.6141, allocations: 71.16 kB / 409 MB, free: 19.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004331/0.6185, allocations: 2.357 MB / 411.3 MB, free: 17.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005942/0.6191, allocations: 57.7 kB / 411.4 MB, free: 17.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.6202, allocations: 1.463 MB / 412.8 MB, free: 16.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007193/0.621, allocations: 0.6067 MB / 413.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.6212, allocations: 165.6 kB / 413.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6214, allocations: 309.1 kB / 413.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.6231, allocations: 1.136 MB / 415 MB, free: 13.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.6248, allocations: 1.584 MB / 416.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/0.6282, allocations: 2.797 MB / 419.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.6282, allocations: 4 kB / 419.4 MB, free: 9.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006287/0.6345, allocations: 3.61 MB / 423 MB, free: 5.699 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.6346, allocations: 12 kB / 423.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.6346, allocations: 12 kB / 423.1 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.6366, allocations: 0.8015 MB / 423.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.6383, allocations: 461.9 kB / 424.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.6488, allocations: 10.3 MB / 434.6 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/0.6521, allocations: 130 kB / 434.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/0.6525, allocations: 79.94 kB / 434.8 MB, free: 9.316 MB / 334.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.003309/0.6558, allocations: 1.09 MB / 435.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009944/0.6568, allocations: 241.1 kB / 436.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006366/0.6632, allocations: 3.329 MB / 439.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.6633, allocations: 16 kB / 439.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.6633, allocations: 11.94 kB / 439.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/0.6633, allocations: 15.89 kB / 439.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.6781, allocations: 6.913 MB / 446.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.6782, allocations: 0 / 446.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.6795, allocations: 296.9 kB / 446.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/0.682, allocations: 0.9259 MB / 447.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/0.6822, allocations: 39.98 kB / 447.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/0.6961, allocations: 13.45 MB / 461.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.6961, allocations: 7.938 kB / 461.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009324/0.7055, allocations: 4.888 MB / 466 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/0.7079, allocations: 0.5721 MB / 466.6 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007556/0.7087, allocations: 39.98 kB / 466.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/0.7102, allocations: 135.8 kB / 466.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004969/0.7107, allocations: 156.5 kB / 466.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.7108, allocations: 47.98 kB / 467 MB, free: 8.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003288/0.7141, allocations: 1.621 MB / 468.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7141, allocations: 4 kB / 468.6 MB, free: 6.547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003848/0.718, allocations: 0.7013 MB / 469.3 MB, free: 5.848 MB / 366.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.0007248/0.7187, allocations: 217.9 kB / 469.5 MB, free: 5.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006672/0.7254, allocations: 3.596 MB / 473.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.7255, allocations: 256 / 473.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004115/0.7296, allocations: 2.522 MB / 475.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005016/0.7346, allocations: 0.6794 MB / 476.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.7514, allocations: 8.316 MB / 484.6 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/0.7545, allocations: 2.517 MB / 487.1 MB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002409/0.7569, allocations: 0.5866 MB / 487.7 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/0.7575, allocations: 155.4 kB / 487.9 MB, free: 3.086 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.7575, allocations: 0 / 487.9 MB, free: 3.086 MB / 382.1 MB Notification: Performance of Templates: time 0.08844/0.846, allocations: 39.91 MB / 0.5154 GB, free: 11.19 MB / 430.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)