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.001414/0.001414, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001716/0.001715, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.949/1.949, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001506/0.001506, allocations: 47.92 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1506, allocations: 46.62 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01757/0.1682, allocations: 12.7 MB / 338.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1807, allocations: 4.192 MB / 342.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004294/0.1851, allocations: 59.69 kB / 342.9 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00417/0.1894, allocations: 0.8509 MB / 343.8 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008275/0.1977, allocations: 1.084 MB / 344.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.2002, allocations: 471.5 kB / 345.3 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008337/0.2085, allocations: 5.359 MB / 350.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005132/0.2137, allocations: 2.973 MB / 353.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006213/0.22, allocations: 1.808 MB / 355.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006439/0.2265, allocations: 2.448 MB / 357.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002519/0.229, allocations: 344 kB / 358.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/0.2328, allocations: 443.8 kB / 358.7 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002706/0.2355, allocations: 1.289 MB / 360 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007195/0.2428, allocations: 2.239 MB / 362.2 MB, free: 452 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.2565, allocations: 7.154 MB / 369.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.2566, allocations: 0 / 369.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2566, allocations: 0 / 369.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004143/0.257, allocations: 0 / 369.4 MB, free: 9.266 MB / 318.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.01906/0.2761, allocations: 4.683 MB / 374 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.2762, allocations: 16.02 kB / 374.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/0.2791, allocations: 0.4956 MB / 374.5 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/0.2855, allocations: 2.376 MB / 376.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.2858, allocations: 271 kB / 377.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.2869, allocations: 351.9 kB / 377.5 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2718/0.5588, allocations: 5.022 MB / 382.6 MB, free: 48.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.559, allocations: 10.83 kB / 382.6 MB, free: 48.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005694/0.5596, allocations: 147.6 kB / 382.7 MB, free: 48.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002806/0.5599, allocations: 180.3 kB / 382.9 MB, free: 48.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.572, allocations: 4.291 MB / 387.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03558/0.6076, allocations: 14.91 MB / 402.1 MB, free: 37.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/0.6122, allocations: 4.205 MB / 406.3 MB, free: 33.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/0.6152, allocations: 1.987 MB / 408.3 MB, free: 31.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.6156, allocations: 135.1 kB / 408.4 MB, free: 31.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/0.6157, allocations: 52.56 kB / 408.5 MB, free: 31.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.769e-06/0.6157, allocations: 0 / 408.5 MB, free: 31.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02014/0.6358, allocations: 10.02 MB / 418.5 MB, free: 21.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.636, allocations: 73.41 kB / 418.5 MB, free: 21.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004423/0.6404, allocations: 2.513 MB / 421.1 MB, free: 19.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000553/0.641, allocations: 61.7 kB / 421.1 MB, free: 18.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009846/0.642, allocations: 1.614 MB / 422.7 MB, free: 17.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005626/0.6426, allocations: 0.7342 MB / 423.5 MB, free: 16.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006171/0.6432, allocations: 416.3 kB / 423.9 MB, free: 16.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.6433, allocations: 301.1 kB / 424.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.645, allocations: 1.305 MB / 425.5 MB, free: 14.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.6469, allocations: 1.778 MB / 427.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.6505, allocations: 3.219 MB / 430.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.6506, allocations: 4 kB / 430.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00679/0.6574, allocations: 4.082 MB / 434.6 MB, free: 5.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.6574, allocations: 12 kB / 434.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.6575, allocations: 15.98 kB / 434.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/0.6602, allocations: 0.8717 MB / 435.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.6625, allocations: 0.5227 MB / 436 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.674, allocations: 8.728 MB / 444.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/0.6777, allocations: 127.8 kB / 444.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000607/0.6784, allocations: 87.98 kB / 444.9 MB, free: 10.36 MB / 334.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 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004055/0.6824, allocations: 1.207 MB / 446.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/0.6838, allocations: 280.6 kB / 446.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008144/0.6919, allocations: 3.719 MB / 450.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.692, allocations: 20.84 kB / 450.1 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/0.692, allocations: 8 kB / 450.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/0.6921, allocations: 11.91 kB / 450.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02157/0.7137, allocations: 8.098 MB / 458.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.7137, allocations: 0 / 458.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/0.7157, allocations: 387.8 kB / 458.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003498/0.7192, allocations: 0.9334 MB / 459.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003817/0.7196, allocations: 51.98 kB / 459.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.7331, allocations: 10.18 MB / 469.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.7332, allocations: 4.656 kB / 469.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00962/0.7428, allocations: 5.517 MB / 475.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/0.7446, allocations: 0.6343 MB / 476 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/0.7451, allocations: 48 kB / 476 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.7465, allocations: 123.2 kB / 476.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004743/0.7469, allocations: 181.9 kB / 476.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.7471, allocations: 59.98 kB / 476.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002896/0.75, allocations: 1.734 MB / 478.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.75, allocations: 0 / 478.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003104/0.7531, allocations: 0.793 MB / 478.9 MB, free: 7.637 MB / 366.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 (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%), (3,25,88.9%), (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.0006333/0.7538, allocations: 237.5 kB / 479.1 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0065/0.7603, allocations: 3.877 MB / 483 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.7603, allocations: 0 / 483 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004205/0.7645, allocations: 2.473 MB / 485.5 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/0.7687, allocations: 0.752 MB / 486.2 MB, free: 148 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.7847, allocations: 9.354 MB / 495.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0029/0.7877, allocations: 2.773 MB / 498.3 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002618/0.7903, allocations: 0.6827 MB / 499 MB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.7909, allocations: 179.4 kB / 499.2 MB, free: 3.078 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7909, allocations: 0 / 499.2 MB, free: 3.078 MB / 382.1 MB Notification: Performance of Templates: time 0.2981/1.089, allocations: 44.53 MB / 0.531 GB, free: 130.3 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (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)