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.001056/0.001057, allocations: 91.23 kB / 16.65 MB, free: 6.59 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.001001/0.001001, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.016/2.016, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.000681/0.000681, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1318, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01416/0.146, allocations: 12.08 MB / 340.4 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.1565, allocations: 4.165 MB / 344.6 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.1594, allocations: 59.69 kB / 344.6 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.1626, allocations: 0.8431 MB / 345.5 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005497/0.1681, allocations: 1.08 MB / 346.6 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.1705, allocations: 471.6 kB / 347 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008395/0.1789, allocations: 5.363 MB / 352.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005099/0.1841, allocations: 2.946 MB / 355.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005055/0.1892, allocations: 1.598 MB / 356.9 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004796/0.194, allocations: 2.182 MB / 359.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.1954, allocations: 244 kB / 359.3 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.1976, allocations: 347.8 kB / 359.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001714/0.1994, allocations: 1.141 MB / 360.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004727/0.2041, allocations: 2.092 MB / 362.9 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.2144, allocations: 6.941 MB / 369.9 MB, free: 10 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.2144, allocations: 4 kB / 369.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.2144, allocations: 0 / 369.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003954/0.2148, allocations: 0 / 369.9 MB, free: 9.996 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.01316/0.228, allocations: 3.947 MB / 373.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.2281, allocations: 12.03 kB / 373.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.2313, allocations: 0.4917 MB / 374.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006872/0.2382, allocations: 2.384 MB / 376.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.2385, allocations: 279 kB / 377 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.2398, allocations: 343.9 kB / 377.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2994/0.5393, allocations: 5.031 MB / 382.3 MB, free: 32.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/0.5395, allocations: 4.438 kB / 382.3 MB, free: 32.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005877/0.5401, allocations: 146.6 kB / 382.5 MB, free: 32.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003525/0.5405, allocations: 185.7 kB / 382.7 MB, free: 32.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.5527, allocations: 4.318 MB / 387 MB, free: 32.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03942/0.5922, allocations: 15 MB / 402 MB, free: 24.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004712/0.597, allocations: 4.205 MB / 406.2 MB, free: 21.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/0.6, allocations: 2.012 MB / 408.2 MB, free: 20.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/0.6004, allocations: 131.6 kB / 408.3 MB, free: 20.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.706e-05/0.6005, allocations: 56.44 kB / 408.4 MB, free: 20.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 5.07e-06/0.6005, allocations: 4 kB / 408.4 MB, free: 20.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01992/0.6205, allocations: 10.11 MB / 418.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.6205, allocations: 79.28 kB / 418.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004564/0.6251, allocations: 2.502 MB / 421.1 MB, free: 7.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005854/0.6257, allocations: 65.7 kB / 421.1 MB, free: 7.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.6271, allocations: 1.618 MB / 422.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008714/0.628, allocations: 0.736 MB / 423.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.6284, allocations: 194.3 kB / 423.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.6284, allocations: 309 kB / 424 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.6303, allocations: 1.316 MB / 425.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.6322, allocations: 1.788 MB / 427.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004344/0.6366, allocations: 3.24 MB / 430.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.6366, allocations: 4 kB / 430.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007712/0.6443, allocations: 4.095 MB / 434.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.6444, allocations: 12 kB / 434.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/0.6445, allocations: 12 kB / 434.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/0.6475, allocations: 0.8862 MB / 435.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.6499, allocations: 0.529 MB / 435.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.6614, allocations: 8.753 MB / 444.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.665, allocations: 131.9 kB / 444.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/0.6654, allocations: 80 kB / 444.8 MB, free: 15.52 MB / 350.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.00353/0.6689, allocations: 1.217 MB / 446.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/0.6703, allocations: 272.7 kB / 446.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007677/0.678, allocations: 3.754 MB / 450.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.678, allocations: 23.94 kB / 450.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/0.678, allocations: 10.19 kB / 450.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.6781, allocations: 11.53 kB / 450.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/0.7002, allocations: 8.122 MB / 458.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.7003, allocations: 0 / 458.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/0.7031, allocations: 392.5 kB / 458.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004883/0.7081, allocations: 0.9236 MB / 459.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000577/0.7087, allocations: 55.97 kB / 459.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/0.7254, allocations: 10.2 MB / 469.8 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.7255, allocations: 7.375 kB / 469.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.7405, allocations: 5.555 MB / 475.4 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003394/0.7439, allocations: 0.6368 MB / 476 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/0.7455, allocations: 55.92 kB / 476.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/0.7487, allocations: 127.9 kB / 476.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008461/0.7496, allocations: 181.2 kB / 476.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/0.7498, allocations: 55.98 kB / 476.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004849/0.7547, allocations: 1.729 MB / 478.1 MB, free: 13.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.7547, allocations: 0 / 478.1 MB, free: 13.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005134/0.7599, allocations: 0.8078 MB / 478.9 MB, free: 12.87 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 (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.0009954/0.7609, allocations: 232.9 kB / 479.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007915/0.7689, allocations: 3.909 MB / 483.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/0.7689, allocations: 4 kB / 483.1 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004779/0.7737, allocations: 2.495 MB / 485.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00614/0.7799, allocations: 0.7342 MB / 486.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/0.799, allocations: 9.519 MB / 495.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003335/0.8024, allocations: 2.781 MB / 498.6 MB, free: 9.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002668/0.8051, allocations: 0.6788 MB / 499.3 MB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/0.8057, allocations: 179.4 kB / 499.5 MB, free: 8.238 MB / 398.1 MB Notification: Performance of SimCode: time 1.513e-06/0.8057, allocations: 0 / 499.5 MB, free: 8.238 MB / 398.1 MB Notification: Performance of Templates: time 0.3199/1.126, allocations: 43.84 MB / 0.5306 GB, free: 142.7 MB / 430.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)