Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001398/0.001398, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0006302/0.0006312, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4009, allocations: 47.6 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01778/0.4188, allocations: 11.34 MB / 337.8 MB, free: 8.121 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.4316, allocations: 4.022 MB / 341.9 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004058/0.4358, allocations: 67.62 kB / 341.9 MB, free: 4.023 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004541/0.4403, allocations: 0.765 MB / 342.7 MB, free: 3.254 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007242/0.4476, allocations: 1.026 MB / 343.7 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.4502, allocations: 323.6 kB / 344 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.4605, allocations: 4.825 MB / 348.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007697/0.4682, allocations: 2.518 MB / 351.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00616/0.4744, allocations: 1.568 MB / 352.9 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006003/0.4805, allocations: 2.105 MB / 355 MB, free: 6.805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002075/0.4826, allocations: 244 kB / 355.3 MB, free: 6.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.4854, allocations: 311.9 kB / 355.6 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003142/0.4886, allocations: 1.145 MB / 356.7 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.4914, allocations: 0.8433 MB / 357.6 MB, free: 4.262 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.5016, allocations: 5.991 MB / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.5017, allocations: 0 / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.5017, allocations: 0 / 363.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003321/0.502, allocations: 0 / 363.6 MB, free: 14.25 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01452/0.5166, allocations: 4.001 MB / 367.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.5167, allocations: 8.031 kB / 367.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/0.5198, allocations: 0.4908 MB / 368.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008045/0.5278, allocations: 2.299 MB / 370.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.5283, allocations: 275 kB / 370.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.5298, allocations: 355.9 kB / 371 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/0.545, allocations: 5.005 MB / 376 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002132/0.5453, allocations: 3.906 kB / 376 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/0.5464, allocations: 159.9 kB / 376.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002639/0.5467, allocations: 183 kB / 376.3 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/0.559, allocations: 4.287 MB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0395/0.5986, allocations: 14.98 MB / 395.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/0.6042, allocations: 4.208 MB / 399.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/0.608, allocations: 2.002 MB / 401.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000332/0.6083, allocations: 131.1 kB / 401.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.594e-05/0.6084, allocations: 56.56 kB / 402 MB, free: 6.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 4.148e-06/0.6084, allocations: 0 / 402 MB, free: 6.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02283/0.6313, allocations: 10.1 MB / 412.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.6314, allocations: 81.36 kB / 412.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.6364, allocations: 2.49 MB / 414.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004256/0.6369, allocations: 61.7 kB / 414.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.6383, allocations: 1.615 MB / 416.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008066/0.6391, allocations: 0.7393 MB / 417.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.6393, allocations: 48 kB / 417.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.6395, allocations: 394.6 kB / 417.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/0.6418, allocations: 1.312 MB / 418.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.6445, allocations: 1.779 MB / 420.6 MB, free: 4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/0.6472, allocations: 1.564 MB / 422.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/0.6472, allocations: 4 kB / 422.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008108/0.6554, allocations: 4.079 MB / 426.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.6554, allocations: 12 kB / 426.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-05/0.6555, allocations: 12 kB / 426.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/0.6585, allocations: 0.8792 MB / 427.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.6605, allocations: 0.5305 MB / 427.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009901/0.6705, allocations: 8.735 MB / 436.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.6729, allocations: 127.9 kB / 436.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/0.6734, allocations: 83.98 kB / 436.6 MB, free: 3.539 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003137/0.6766, allocations: 1.219 MB / 437.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/0.6776, allocations: 272.7 kB / 438.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007436/0.6851, allocations: 3.73 MB / 441.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.6851, allocations: 24 kB / 441.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/0.6851, allocations: 4 kB / 441.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/0.6852, allocations: 15.95 kB / 441.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/0.7022, allocations: 8.106 MB / 450 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.7023, allocations: 4 kB / 450 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.7039, allocations: 391.8 kB / 450.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002919/0.7068, allocations: 0.9212 MB / 451.3 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.707, allocations: 55.97 kB / 451.3 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2492/0.9562, allocations: 10.18 MB / 461.5 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.9563, allocations: 9.562 kB / 461.5 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.9671, allocations: 5.534 MB / 467.1 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/0.9696, allocations: 0.6392 MB / 467.7 MB, free: 102.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/0.9707, allocations: 55.34 kB / 467.8 MB, free: 102.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002654/0.9734, allocations: 125.4 kB / 467.9 MB, free: 102.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006181/0.9741, allocations: 178.8 kB / 468.1 MB, free: 102.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/0.9744, allocations: 60.53 kB / 468.1 MB, free: 102.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005071/0.9794, allocations: 1.711 MB / 469.8 MB, free: 102 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.9795, allocations: 0 / 469.8 MB, free: 102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005919/0.9854, allocations: 0.8017 MB / 470.6 MB, free: 101.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.9867, allocations: 201.4 kB / 470.8 MB, free: 101.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01028/0.997, allocations: 3.898 MB / 474.7 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.997, allocations: 0 / 474.7 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006119/1.003, allocations: 2.495 MB / 477.2 MB, free: 98.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007207/1.01, allocations: 0.7586 MB / 478 MB, free: 97.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.032, allocations: 9.117 MB / 487.1 MB, free: 88.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/1.036, allocations: 2.768 MB / 489.9 MB, free: 85.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004534/1.041, allocations: 0.6788 MB / 490.5 MB, free: 84.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.042, allocations: 179.4 kB / 490.7 MB, free: 84.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.542e-06/1.042, allocations: 0 / 490.7 MB, free: 84.68 MB / 382.1 MB Notification: Performance of Templates: time 0.1169/1.159, allocations: 42.72 MB / 0.5209 GB, free: 41.92 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)