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.001265/0.001265, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.671/1.671, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001318/0.001319, allocations: 56.2 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3299, allocations: 46.64 MB / 325.3 MB, free: 1.98 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.0231/0.3531, allocations: 12.8 MB / 338.1 MB, free: 7.199 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.3664, allocations: 4.25 MB / 342.4 MB, free: 2.938 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004314/0.3707, allocations: 67.69 kB / 342.4 MB, free: 2.871 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.3755, allocations: 0.9626 MB / 343.4 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006603/0.3822, allocations: 1.184 MB / 344.6 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.3842, allocations: 0.515 MB / 345.1 MB, free: 200 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.008777/0.393, allocations: 4.657 MB / 349.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008375/0.4014, allocations: 3.598 MB / 353.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005797/0.4073, allocations: 2.108 MB / 355.5 MB, free: 5.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005864/0.4132, allocations: 2.561 MB / 358 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002045/0.4152, allocations: 0.5508 MB / 358.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.4178, allocations: 0.6405 MB / 359.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002597/0.4204, allocations: 1.515 MB / 360.7 MB, free: 472 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005256/0.4257, allocations: 2.489 MB / 363.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.4363, allocations: 7.341 MB / 370.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.4364, allocations: 0 / 370.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.4364, allocations: 0 / 370.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002386/0.4366, allocations: 7.938 kB / 370.6 MB, free: 6.59 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.01814/0.4548, allocations: 4.687 MB / 375.3 MB, free: 1.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.4549, allocations: 11.89 kB / 375.3 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.4577, allocations: 0.4996 MB / 375.8 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008466/0.4662, allocations: 2.384 MB / 378.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004447/0.4667, allocations: 271 kB / 378.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.4684, allocations: 355.7 kB / 378.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.4848, allocations: 5.025 MB / 383.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.501e-05/0.4849, allocations: 11.91 kB / 383.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004154/0.4853, allocations: 140 kB / 383.9 MB, free: 9.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002545/0.4856, allocations: 187.1 kB / 384.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008011/0.4936, allocations: 4.287 MB / 388.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02412/0.5178, allocations: 14.91 MB / 403.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.5225, allocations: 4.188 MB / 407.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.5257, allocations: 1.995 MB / 409.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.526, allocations: 131.1 kB / 409.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.526, allocations: 56.56 kB / 409.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.238e-06/0.5261, allocations: 0 / 409.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02427/0.5503, allocations: 10.03 MB / 419.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.5504, allocations: 77.41 kB / 419.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005562/0.556, allocations: 2.506 MB / 422.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003238/0.5564, allocations: 69.7 kB / 422.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.5578, allocations: 1.615 MB / 424 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008533/0.5587, allocations: 0.7316 MB / 424.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009678/0.5597, allocations: 416.3 kB / 425.1 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5598, allocations: 301.1 kB / 425.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/0.5624, allocations: 1.305 MB / 426.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002959/0.5654, allocations: 1.782 MB / 428.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005054/0.5705, allocations: 3.215 MB / 431.7 MB, free: 8.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/0.5705, allocations: 7.938 kB / 431.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007952/0.5785, allocations: 4.075 MB / 435.8 MB, free: 3.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.5785, allocations: 12 kB / 435.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/0.5786, allocations: 12 kB / 435.8 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/0.5812, allocations: 0.8324 MB / 436.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.5835, allocations: 0.5265 MB / 437.2 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.5946, allocations: 9.479 MB / 446.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.5973, allocations: 123.8 kB / 446.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000446/0.5978, allocations: 84 kB / 446.9 MB, free: 8.422 MB / 382.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.003294/0.6011, allocations: 1.212 MB / 448.1 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.6022, allocations: 280.6 kB / 448.3 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007353/0.6095, allocations: 3.719 MB / 452.1 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.6096, allocations: 23.98 kB / 452.1 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.559e-05/0.6096, allocations: 12 kB / 452.1 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-05/0.6097, allocations: 11.91 kB / 452.1 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2869/0.8966, allocations: 8.081 MB / 460.2 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.8966, allocations: 3.25 kB / 460.2 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.8984, allocations: 382.7 kB / 460.6 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/0.9012, allocations: 0.881 MB / 461.4 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/0.9015, allocations: 51.12 kB / 461.5 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/0.9123, allocations: 11.07 MB / 472.6 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9124, allocations: 3.719 kB / 472.6 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008462/0.9209, allocations: 5.509 MB / 478.1 MB, free: 97.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/0.9227, allocations: 0.6329 MB / 478.7 MB, free: 97.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007681/0.9234, allocations: 48.86 kB / 478.8 MB, free: 97.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.9254, allocations: 116.6 kB / 478.9 MB, free: 97.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004602/0.9259, allocations: 185.7 kB / 479.1 MB, free: 96.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.9261, allocations: 63.83 kB / 479.1 MB, free: 96.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002864/0.9289, allocations: 1.734 MB / 480.8 MB, free: 95.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.929, allocations: 0 / 480.8 MB, free: 95.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002776/0.9317, allocations: 0.7957 MB / 481.6 MB, free: 94.26 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.0006161/0.9324, allocations: 231.3 kB / 481.9 MB, free: 94.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.9428, allocations: 5.709 MB / 487.6 MB, free: 88.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.9429, allocations: 3.938 kB / 487.6 MB, free: 88.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003893/0.9468, allocations: 2.475 MB / 490.1 MB, free: 85.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005945/0.9527, allocations: 0.7856 MB / 490.8 MB, free: 85.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/0.9687, allocations: 7.802 MB / 498.6 MB, free: 77.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003753/0.9725, allocations: 2.779 MB / 0.4897 GB, free: 74.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003033/0.9756, allocations: 0.6827 MB / 0.4903 GB, free: 73.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008988/0.9765, allocations: 175.4 kB / 0.4905 GB, free: 73.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.9765, allocations: 0 / 0.4905 GB, free: 73.55 MB / 382.1 MB Notification: Performance of Templates: time 0.07974/1.056, allocations: 46.41 MB / 0.5358 GB, free: 27.11 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)