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.001796/0.001796, allocations: 101.2 kB / 16.5 MB, free: 6.695 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.001901/0.001901, allocations: 194.4 kB / 17.42 MB, free: 6.09 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.938/1.938, allocations: 205.1 MB / 223.3 MB, free: 12.53 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.001793/0.001793, allocations: 43.94 kB / 279.3 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1475, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01733/0.1649, allocations: 11.66 MB / 337.6 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.1782, allocations: 3.775 MB / 341.4 MB, free: 5.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004854/0.1831, allocations: 55.69 kB / 341.5 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.1874, allocations: 0.7498 MB / 342.2 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005601/0.193, allocations: 1.003 MB / 343.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.195, allocations: 443.6 kB / 343.6 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007383/0.2024, allocations: 4.909 MB / 348.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.2066, allocations: 2.655 MB / 351.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.2103, allocations: 1.611 MB / 352.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006766/0.2171, allocations: 2.23 MB / 355 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.2186, allocations: 300 kB / 355.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.2203, allocations: 407.8 kB / 355.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.2216, allocations: 1.184 MB / 356.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00346/0.2251, allocations: 1.986 MB / 358.9 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007418/0.2325, allocations: 6.305 MB / 365.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.2326, allocations: 0 / 365.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2326, allocations: 0 / 365.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001729/0.2328, allocations: 0 / 365.2 MB, free: 13.43 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.01034/0.2431, allocations: 4.29 MB / 369.5 MB, free: 9.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.2432, allocations: 15.97 kB / 369.5 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.2444, allocations: 440 kB / 369.9 MB, free: 8.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/0.2485, allocations: 2.227 MB / 372.2 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.2487, allocations: 234.1 kB / 372.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/0.2492, allocations: 311.9 kB / 372.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008246/0.2574, allocations: 4.369 MB / 377.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.109e-05/0.2575, allocations: 12 kB / 377.1 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.2579, allocations: 128 kB / 377.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.258, allocations: 134 kB / 377.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2629/0.521, allocations: 3.764 MB / 381.1 MB, free: 49.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.5542, allocations: 13.54 MB / 394.7 MB, free: 41.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.5586, allocations: 2.903 MB / 397.6 MB, free: 39.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002911/0.5615, allocations: 1.681 MB / 399.2 MB, free: 38.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/0.5619, allocations: 137.7 kB / 399.4 MB, free: 38.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.562, allocations: 51.78 kB / 399.4 MB, free: 38.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.068e-06/0.562, allocations: 0 / 399.4 MB, free: 38.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01887/0.5809, allocations: 9.204 MB / 408.6 MB, free: 31.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.581, allocations: 77.41 kB / 408.7 MB, free: 31.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/0.5849, allocations: 2.357 MB / 411.1 MB, free: 28.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005583/0.5855, allocations: 49.7 kB / 411.1 MB, free: 28.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.5868, allocations: 1.473 MB / 412.6 MB, free: 27.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008294/0.5876, allocations: 0.5996 MB / 413.2 MB, free: 26.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007401/0.5884, allocations: 371.3 kB / 413.5 MB, free: 26.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5885, allocations: 301.8 kB / 413.8 MB, free: 26.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.5902, allocations: 1.12 MB / 415 MB, free: 25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.5921, allocations: 1.574 MB / 416.5 MB, free: 23.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.5953, allocations: 2.78 MB / 419.3 MB, free: 20.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.5954, allocations: 4 kB / 419.3 MB, free: 20.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006353/0.6017, allocations: 3.598 MB / 422.9 MB, free: 16.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.6018, allocations: 12.98 kB / 422.9 MB, free: 16.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.6018, allocations: 15.98 kB / 422.9 MB, free: 16.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/0.6038, allocations: 0.7986 MB / 423.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.6055, allocations: 467.2 kB / 424.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009052/0.6146, allocations: 10.28 MB / 434.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/0.6178, allocations: 119.8 kB / 434.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/0.6182, allocations: 76 kB / 434.7 MB, free: 4.234 MB / 318.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.002996/0.6212, allocations: 1.091 MB / 435.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.6222, allocations: 253 kB / 436 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/0.6275, allocations: 3.298 MB / 439.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.6275, allocations: 16 kB / 439.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.6275, allocations: 8 kB / 439.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.6276, allocations: 7.969 kB / 439.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.6422, allocations: 6.895 MB / 446.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6422, allocations: 0 / 446.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.6437, allocations: 299.5 kB / 446.5 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.6463, allocations: 0.9366 MB / 447.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/0.6465, allocations: 39.98 kB / 447.5 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.6612, allocations: 13.45 MB / 460.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6613, allocations: 4.047 kB / 461 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008203/0.6695, allocations: 4.871 MB / 465.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/0.6713, allocations: 0.5605 MB / 466.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/0.6717, allocations: 35.98 kB / 466.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.673, allocations: 127.9 kB / 466.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/0.6735, allocations: 153.7 kB / 466.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.6737, allocations: 47.98 kB / 466.7 MB, free: 3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002634/0.6763, allocations: 1.629 MB / 468.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6763, allocations: 4 kB / 468.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002534/0.6789, allocations: 0.7031 MB / 469.1 MB, free: 0.6484 MB / 350.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.0004939/0.6794, allocations: 206.8 kB / 469.3 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005713/0.6851, allocations: 3.566 MB / 472.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6851, allocations: 4 kB / 472.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003661/0.6888, allocations: 2.512 MB / 475.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/0.6924, allocations: 0.6757 MB / 476 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.7057, allocations: 8.174 MB / 484.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/0.7083, allocations: 2.516 MB / 486.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002321/0.7106, allocations: 0.5905 MB / 487.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.7111, allocations: 163.3 kB / 487.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.7111, allocations: 0 / 487.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of Templates: time 0.07698/0.7881, allocations: 40.56 MB / 0.5157 GB, free: 5.352 MB / 414.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)