Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001455/0.001455, allocations: 94.53 kB / 16.3 MB, free: 6.457 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.001527/0.001527, allocations: 184.9 kB / 17.2 MB, free: 6.34 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.76/1.76, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004777/0.0004777, allocations: 15.44 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 47.59 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01047/0.114, allocations: 10.34 MB / 338 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007744/0.1218, allocations: 4.145 MB / 342.2 MB, free: 5.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.1236, allocations: 59.69 kB / 342.2 MB, free: 5.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.1259, allocations: 0.8047 MB / 343 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.1295, allocations: 0.9891 MB / 344 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1308, allocations: 319.6 kB / 344.4 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005638/0.1365, allocations: 2.974 MB / 347.3 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.1399, allocations: 2.518 MB / 349.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.1427, allocations: 1.444 MB / 351.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.1468, allocations: 1.809 MB / 353.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.1479, allocations: 244 kB / 353.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.1494, allocations: 307.9 kB / 353.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.1507, allocations: 1.079 MB / 354.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.1523, allocations: 0.8394 MB / 355.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006747/0.159, allocations: 5.952 MB / 361.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1591, allocations: 0 / 361.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1591, allocations: 0 / 361.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002294/0.1593, allocations: 0 / 361.5 MB, free: 2.129 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.01001/0.1693, allocations: 3.974 MB / 365.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.1694, allocations: 8.031 kB / 365.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.1712, allocations: 0.4947 MB / 366 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004751/0.176, allocations: 2.314 MB / 368.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.1762, allocations: 271 kB / 368.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005447/0.1768, allocations: 351.9 kB / 368.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008885/0.1857, allocations: 4.978 MB / 373.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.329e-05/0.1858, allocations: 7.984 kB / 373.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003325/0.1861, allocations: 143.9 kB / 374 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.1863, allocations: 183 kB / 374.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008915/0.1953, allocations: 4.287 MB / 378.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3181/0.5134, allocations: 14.95 MB / 393.4 MB, free: 40.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005021/0.5185, allocations: 4.201 MB / 397.6 MB, free: 37.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/0.5188, allocations: 132.5 kB / 397.8 MB, free: 37.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.5189, allocations: 60.66 kB / 397.8 MB, free: 37.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.549e-06/0.5189, allocations: 1.344 kB / 397.8 MB, free: 37.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.0227/0.5416, allocations: 10.32 MB / 408.2 MB, free: 31.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.5417, allocations: 73.41 kB / 408.2 MB, free: 31.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.5454, allocations: 2.459 MB / 410.7 MB, free: 28.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005656/0.546, allocations: 61.7 kB / 410.7 MB, free: 28.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.5471, allocations: 1.615 MB / 412.4 MB, free: 27.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008693/0.548, allocations: 0.7307 MB / 413.1 MB, free: 26.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.5481, allocations: 44 kB / 413.1 MB, free: 26.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5483, allocations: 398.6 kB / 413.5 MB, free: 25.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.5502, allocations: 1.316 MB / 414.8 MB, free: 24.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.5523, allocations: 1.789 MB / 416.6 MB, free: 22.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.5545, allocations: 1.575 MB / 418.2 MB, free: 21.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.5545, allocations: 4 kB / 418.2 MB, free: 21.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006709/0.5613, allocations: 4.11 MB / 422.3 MB, free: 16.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.5613, allocations: 12 kB / 422.3 MB, free: 16.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.5614, allocations: 15.95 kB / 422.3 MB, free: 16.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.5642, allocations: 0.8824 MB / 423.2 MB, free: 16.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.5667, allocations: 0.5227 MB / 423.8 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008936/0.5756, allocations: 8.942 MB / 432.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/0.5792, allocations: 123.9 kB / 432.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004288/0.5796, allocations: 88 kB / 432.9 MB, free: 5.973 MB / 318.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.003256/0.5829, allocations: 1.212 MB / 434.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/0.5839, allocations: 276.7 kB / 434.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/0.5902, allocations: 3.766 MB / 438.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.5903, allocations: 23.98 kB / 438.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.5903, allocations: 8.766 kB / 438.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.5903, allocations: 7.969 kB / 438.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01907/0.6094, allocations: 8.095 MB / 446.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/0.6095, allocations: 6.906 kB / 446.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/0.6113, allocations: 379.5 kB / 446.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/0.6147, allocations: 0.9357 MB / 447.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/0.615, allocations: 59.92 kB / 447.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/0.6299, allocations: 10.42 MB / 458.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.63, allocations: 7.984 kB / 458.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/0.6426, allocations: 5.787 MB / 463.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/0.6451, allocations: 0.6343 MB / 464.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/0.6466, allocations: 47.98 kB / 464.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/0.6489, allocations: 131.8 kB / 464.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005947/0.6495, allocations: 181.8 kB / 464.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/0.6498, allocations: 63.98 kB / 464.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004651/0.6545, allocations: 1.68 MB / 466.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6545, allocations: 0 / 466.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004417/0.6589, allocations: 0.7955 MB / 467.4 MB, free: 2.668 MB / 350.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.000958/0.6599, allocations: 209.1 kB / 467.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007739/0.6676, allocations: 3.929 MB / 471.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/0.6677, allocations: 4 kB / 471.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00448/0.6722, allocations: 2.497 MB / 474 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004599/0.6768, allocations: 0.7294 MB / 474.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/0.7015, allocations: 9.122 MB / 483.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005592/0.7071, allocations: 2.843 MB / 486.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003262/0.7104, allocations: 0.6788 MB / 487.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.7115, allocations: 175.4 kB / 487.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.7115, allocations: 0 / 487.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of Templates: time 0.09044/0.802, allocations: 42.28 MB / 0.5174 GB, free: 3.934 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) Environment - environmentSimulation: