Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.01332/0.01332, allocations: 99.66 kB / 15.73 MB, free: 6.477 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.002802/0.002802, allocations: 189.9 kB / 16.67 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 2.091/2.091, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001413/0.001413, allocations: 50.69 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1248, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01487/0.1397, allocations: 9.758 MB / 382.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007389/0.1472, allocations: 3.144 MB / 386.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.1488, allocations: 47.81 kB / 386.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.1507, allocations: 0.6636 MB / 386.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.1535, allocations: 0.8193 MB / 387.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.1545, allocations: 391.5 kB / 388 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.1584, allocations: 3.098 MB / 391.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.1612, allocations: 2.392 MB / 393.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.1635, allocations: 1.378 MB / 394.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/0.1663, allocations: 1.681 MB / 396.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005874/0.1669, allocations: 360 kB / 396.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1681, allocations: 451.8 kB / 397.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.1694, allocations: 1.001 MB / 398.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002649/0.1721, allocations: 1.602 MB / 399.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006155/0.1783, allocations: 4.72 MB / 404.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.1783, allocations: 4 kB / 404.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.1783, allocations: 0 / 404.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001264/0.1784, allocations: 3.938 kB / 404.7 MB, free: 1.664 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008065/0.1865, allocations: 3.202 MB / 407.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.798e-05/0.1866, allocations: 11.89 kB / 407.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009357/0.1876, allocations: 329.3 kB / 408.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.191, allocations: 1.635 MB / 409.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.1912, allocations: 180.7 kB / 410 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.1915, allocations: 224 kB / 410.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005968/0.1975, allocations: 3.188 MB / 413.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.1976, allocations: 7.906 kB / 413.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.1978, allocations: 92 kB / 413.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.1979, allocations: 104.4 kB / 413.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/0.2027, allocations: 2.742 MB / 416.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/0.2196, allocations: 9.773 MB / 426.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.2222, allocations: 2.091 MB / 428.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.2242, allocations: 1.202 MB / 429.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/0.2245, allocations: 130.1 kB / 429.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.2245, allocations: 43.56 kB / 429.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 4.138e-06/0.2245, allocations: 0 / 429.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.02099/0.2455, allocations: 7.989 MB / 437.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/0.2457, allocations: 68.72 kB / 437.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/0.2491, allocations: 1.672 MB / 439.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.2493, allocations: 49.7 kB / 439.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.2503, allocations: 1.093 MB / 440.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005126/0.2508, allocations: 492.9 kB / 440.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005272/0.2514, allocations: 287.4 kB / 441.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2515, allocations: 305.1 kB / 441.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.2531, allocations: 0.9095 MB / 442.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.2552, allocations: 1.275 MB / 443.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/0.2585, allocations: 2.25 MB / 446 MB, free: 7.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.2585, allocations: 7.938 kB / 446 MB, free: 7.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006046/0.2646, allocations: 3.037 MB / 449 MB, free: 4.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.2647, allocations: 16.03 kB / 449 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.2647, allocations: 8 kB / 449 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/0.2669, allocations: 0.8439 MB / 449.9 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.2681, allocations: 307.5 kB / 450.2 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2995/0.5677, allocations: 9.897 MB / 460.1 MB, free: 65.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.5697, allocations: 93.97 kB / 460.2 MB, free: 65.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.5699, allocations: 59.81 kB / 460.2 MB, free: 65.39 MB / 382.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.002489/0.5724, allocations: 0.8125 MB / 461 MB, free: 64.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/0.573, allocations: 181.6 kB / 461.2 MB, free: 64.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005681/0.5786, allocations: 2.841 MB / 464.1 MB, free: 63.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.5787, allocations: 14.22 kB / 464.1 MB, free: 63.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.5787, allocations: 7.312 kB / 464.1 MB, free: 63.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.5787, allocations: 8.516 kB / 464.1 MB, free: 63.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.5896, allocations: 5.66 MB / 469.7 MB, free: 61.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.5897, allocations: 2.75 kB / 469.7 MB, free: 61.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008698/0.5905, allocations: 196.4 kB / 469.9 MB, free: 61.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/0.5928, allocations: 0.8949 MB / 470.8 MB, free: 61.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.593, allocations: 42.23 kB / 470.9 MB, free: 61.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009983/0.6029, allocations: 11.53 MB / 482.4 MB, free: 52.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.603, allocations: 5.562 kB / 482.4 MB, free: 52.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00596/0.6089, allocations: 4.154 MB / 486.6 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.6102, allocations: 466.7 kB / 487 MB, free: 49.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.6105, allocations: 32 kB / 487 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008745/0.6114, allocations: 79.91 kB / 487.1 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004085/0.6118, allocations: 145 kB / 487.3 MB, free: 48.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.492e-05/0.6119, allocations: 39.98 kB / 487.3 MB, free: 48.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001492/0.6134, allocations: 1.153 MB / 488.5 MB, free: 47.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6134, allocations: 0 / 488.5 MB, free: 47.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002224/0.6156, allocations: 0.5596 MB / 489 MB, free: 47.03 MB / 382.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.0004412/0.6161, allocations: 197.3 kB / 489.2 MB, free: 46.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004465/0.6205, allocations: 3.002 MB / 492.2 MB, free: 43.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.6206, allocations: 4.062 kB / 492.2 MB, free: 43.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002962/0.6235, allocations: 2.031 MB / 494.2 MB, free: 41.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.6264, allocations: 0.5051 MB / 494.8 MB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.6353, allocations: 5.146 MB / 499.9 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.6368, allocations: 2.019 MB / 0.4902 GB, free: 33.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.6382, allocations: 411.3 kB / 0.4905 GB, free: 33.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.6385, allocations: 115.4 kB / 0.4907 GB, free: 33.44 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6385, allocations: 0 / 0.4907 GB, free: 33.44 MB / 382.1 MB Notification: Performance of Templates: time 0.05834/0.6969, allocations: 33.83 MB / 0.5237 GB, free: 15.58 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)