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.001382/0.001382, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.663/1.663, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001472/0.001472, allocations: 59.91 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2635, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01464/0.2782, allocations: 11.75 MB / 337.1 MB, free: 8.129 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008668/0.2869, allocations: 3.811 MB / 340.9 MB, free: 4.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.2893, allocations: 63.62 kB / 340.9 MB, free: 4.242 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.2918, allocations: 0.8616 MB / 341.8 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.2953, allocations: 1.083 MB / 342.9 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.2964, allocations: 0.4915 MB / 343.4 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004909/0.3013, allocations: 4.246 MB / 347.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.3048, allocations: 3.221 MB / 350.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.3074, allocations: 1.881 MB / 352.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.3105, allocations: 2.335 MB / 355.1 MB, free: 6.008 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.3115, allocations: 0.4961 MB / 355.6 MB, free: 5.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.3126, allocations: 0.5819 MB / 356.1 MB, free: 4.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.3139, allocations: 1.395 MB / 357.5 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002531/0.3164, allocations: 2.213 MB / 359.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005848/0.3223, allocations: 6.481 MB / 366.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3223, allocations: 0 / 366.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3223, allocations: 0 / 366.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001372/0.3224, allocations: 4 kB / 366.2 MB, free: 10.8 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.009052/0.3315, allocations: 4.294 MB / 370.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3316, allocations: 15.89 kB / 370.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.3326, allocations: 432.1 kB / 371 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.3364, allocations: 2.235 MB / 373.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.3366, allocations: 238.1 kB / 373.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.337, allocations: 307.9 kB / 373.7 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006981/0.344, allocations: 4.365 MB / 378.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-05/0.3441, allocations: 4 kB / 378.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.3444, allocations: 128 kB / 378.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.3446, allocations: 130 kB / 378.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006519/0.3511, allocations: 3.783 MB / 382.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/0.3729, allocations: 13.54 MB / 395.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/0.3764, allocations: 2.903 MB / 398.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/0.3791, allocations: 1.676 MB / 400.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.3794, allocations: 138.4 kB / 400.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.3795, allocations: 51.88 kB / 400.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 5.531e-06/0.3795, allocations: 0 / 400.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.01921/0.3987, allocations: 9.211 MB / 409.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3988, allocations: 73.41 kB / 409.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/0.4027, allocations: 2.361 MB / 412.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.4028, allocations: 57.7 kB / 412.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.404, allocations: 1.462 MB / 413.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004993/0.4045, allocations: 0.6007 MB / 414.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005961/0.4051, allocations: 375.2 kB / 414.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4052, allocations: 305.1 kB / 414.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.407, allocations: 1.132 MB / 416 MB, free: 7.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.4089, allocations: 1.567 MB / 417.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/0.4125, allocations: 2.788 MB / 420.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4125, allocations: 4 kB / 420.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005815/0.4183, allocations: 3.589 MB / 423.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.4183, allocations: 8 kB / 424 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.4184, allocations: 19.92 kB / 424 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.4203, allocations: 0.8022 MB / 424.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.4221, allocations: 455.3 kB / 425.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.4327, allocations: 11.18 MB / 436.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.4349, allocations: 131.8 kB / 436.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.4351, allocations: 75.98 kB / 436.6 MB, free: 2.246 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.001925/0.437, allocations: 1.087 MB / 437.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/0.4375, allocations: 248.9 kB / 437.9 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005337/0.4428, allocations: 3.301 MB / 441.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.4428, allocations: 20 kB / 441.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4429, allocations: 4 kB / 441.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.4429, allocations: 11.97 kB / 441.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.4537, allocations: 6.892 MB / 448.2 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4538, allocations: 0 / 448.2 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.4551, allocations: 295.8 kB / 448.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/0.4575, allocations: 0.9275 MB / 449.4 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.4576, allocations: 43.98 kB / 449.4 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2231/0.6808, allocations: 14.59 MB / 464 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.6808, allocations: 2.219 kB / 464 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008323/0.6892, allocations: 4.866 MB / 468.9 MB, free: 101.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/0.6907, allocations: 0.5611 MB / 469.4 MB, free: 101.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003668/0.6911, allocations: 39.75 kB / 469.5 MB, free: 101.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.6925, allocations: 121.8 kB / 469.6 MB, free: 101.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005371/0.693, allocations: 152.6 kB / 469.7 MB, free: 101.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.6931, allocations: 50.81 kB / 469.8 MB, free: 101.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002251/0.6954, allocations: 1.633 MB / 471.4 MB, free: 100.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6954, allocations: 0 / 471.4 MB, free: 100.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002251/0.6977, allocations: 0.7033 MB / 472.1 MB, free: 100.4 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.0004308/0.6981, allocations: 216.3 kB / 472.3 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00749/0.7056, allocations: 4.861 MB / 477.2 MB, free: 97.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7056, allocations: 0 / 477.2 MB, free: 97.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002945/0.7086, allocations: 2.501 MB / 479.7 MB, free: 94.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/0.7125, allocations: 0.7201 MB / 480.4 MB, free: 94.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.7235, allocations: 6.822 MB / 487.2 MB, free: 87.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/0.7254, allocations: 2.517 MB / 489.8 MB, free: 84.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002118/0.7275, allocations: 0.5866 MB / 490.3 MB, free: 84.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/0.728, allocations: 159.4 kB / 490.5 MB, free: 84.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.754e-06/0.728, allocations: 4 kB / 490.5 MB, free: 84.09 MB / 382.1 MB Notification: Performance of Templates: time 0.06894/0.797, allocations: 42.18 MB / 0.5202 GB, free: 41.88 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)