Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 103.4 kB / 16.92 MB, free: 6.145 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.002546/0.002546, allocations: 191.5 kB / 17.85 MB, free: 5.309 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.843/1.843, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001544/0.001544, allocations: 56.16 kB / 280 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.156, allocations: 46.62 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01485/0.1709, allocations: 9.762 MB / 336.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009579/0.1806, allocations: 3.132 MB / 339.5 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.1831, allocations: 43.81 kB / 339.6 MB, free: 7.457 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.1855, allocations: 0.6598 MB / 340.2 MB, free: 6.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004506/0.19, allocations: 0.8193 MB / 341 MB, free: 5.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1914, allocations: 403.4 kB / 341.4 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005167/0.1966, allocations: 3.09 MB / 344.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003257/0.1999, allocations: 2.381 MB / 346.9 MB, free: 28 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/0.203, allocations: 1.371 MB / 348.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.2064, allocations: 1.693 MB / 350 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006765/0.2071, allocations: 364 kB / 350.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.2084, allocations: 447.8 kB / 350.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.2096, allocations: 0.9935 MB / 351.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002456/0.2121, allocations: 1.614 MB / 353.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006065/0.2182, allocations: 4.65 MB / 358 MB, free: 4.879 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2182, allocations: 3.938 kB / 358 MB, free: 4.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2182, allocations: 4 kB / 358 MB, free: 4.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001605/0.2184, allocations: 0 / 358 MB, free: 4.871 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008789/0.2272, allocations: 3.213 MB / 361.2 MB, free: 1.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.2273, allocations: 11.89 kB / 361.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.2283, allocations: 321.3 kB / 361.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.2313, allocations: 1.635 MB / 363.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.2315, allocations: 168.9 kB / 363.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/0.2319, allocations: 231.8 kB / 363.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005945/0.2378, allocations: 3.188 MB / 366.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.055e-05/0.2379, allocations: 8 kB / 366.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.2382, allocations: 95.98 kB / 366.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.2383, allocations: 104.4 kB / 367 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005481/0.2438, allocations: 2.738 MB / 369.7 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3389/0.5827, allocations: 9.879 MB / 379.6 MB, free: 48.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.587, allocations: 2.084 MB / 381.7 MB, free: 48.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/0.5897, allocations: 1.2 MB / 382.9 MB, free: 48.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.5901, allocations: 123.6 kB / 383 MB, free: 48.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.964e-05/0.5901, allocations: 52.06 kB / 383.1 MB, free: 48.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 4.979e-06/0.5902, allocations: 0 / 383.1 MB, free: 48.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02245/0.6126, allocations: 8.007 MB / 391.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.6127, allocations: 68.5 kB / 391.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003353/0.6161, allocations: 1.673 MB / 392.8 MB, free: 44.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.6163, allocations: 47.2 kB / 392.8 MB, free: 44.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008372/0.6171, allocations: 1.09 MB / 393.9 MB, free: 43.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.6176, allocations: 485.8 kB / 394.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007271/0.6184, allocations: 293.5 kB / 394.7 MB, free: 43.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6185, allocations: 314.5 kB / 395 MB, free: 42.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.62, allocations: 0.9135 MB / 395.9 MB, free: 42.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.6214, allocations: 1.259 MB / 397.2 MB, free: 41.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.6242, allocations: 2.247 MB / 399.4 MB, free: 40.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6242, allocations: 3 kB / 399.4 MB, free: 40.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004984/0.6292, allocations: 3.041 MB / 402.5 MB, free: 38.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.6292, allocations: 10.5 kB / 402.5 MB, free: 38.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.6293, allocations: 10.62 kB / 402.5 MB, free: 38.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.6312, allocations: 0.8491 MB / 403.3 MB, free: 37.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.6323, allocations: 307.5 kB / 403.6 MB, free: 37.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009379/0.6417, allocations: 9.924 MB / 413.6 MB, free: 27.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.6438, allocations: 87.91 kB / 413.6 MB, free: 27.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.6439, allocations: 67.98 kB / 413.7 MB, free: 27.04 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001794/0.6457, allocations: 0.8109 MB / 414.5 MB, free: 26.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006469/0.6464, allocations: 185.8 kB / 414.7 MB, free: 26.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/0.6509, allocations: 2.837 MB / 417.5 MB, free: 23.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.651, allocations: 16 kB / 417.6 MB, free: 23.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.651, allocations: 5.125 kB / 417.6 MB, free: 23.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.651, allocations: 11.97 kB / 417.6 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00956/0.6606, allocations: 5.693 MB / 423.3 MB, free: 17.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.6607, allocations: 4 kB / 423.3 MB, free: 17.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008715/0.6616, allocations: 196.8 kB / 423.5 MB, free: 17.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.6636, allocations: 0.891 MB / 424.4 MB, free: 16.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.6637, allocations: 35.97 kB / 424.4 MB, free: 16.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009648/0.6733, allocations: 11.54 MB / 435.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.6734, allocations: 0 / 435.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006501/0.6799, allocations: 4.152 MB / 440.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.6815, allocations: 463.3 kB / 440.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/0.6818, allocations: 35.98 kB / 440.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009991/0.6828, allocations: 75.92 kB / 440.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000521/0.6833, allocations: 145 kB / 440.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/0.6834, allocations: 43.98 kB / 440.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002014/0.6855, allocations: 1.149 MB / 442 MB, free: 14.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6855, allocations: 0 / 442 MB, free: 14.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002618/0.6881, allocations: 0.5624 MB / 442.5 MB, free: 13.49 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0005257/0.6886, allocations: 188 kB / 442.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.007301/0.6959, allocations: 3.651 MB / 446.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.696, allocations: 0 / 446.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003411/0.6994, allocations: 2.03 MB / 448.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.7024, allocations: 0.5099 MB / 448.9 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.7124, allocations: 5.206 MB / 454.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/0.7145, allocations: 2.016 MB / 456.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001654/0.7162, allocations: 411.3 kB / 456.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.7166, allocations: 115.4 kB / 456.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of SimCode: time 2.174e-06/0.7166, allocations: 0 / 456.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of Templates: time 0.06427/0.7808, allocations: 32.71 MB / 489.4 MB, free: 14.43 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)