Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002016/0.002016, allocations: 192 kB / 16.25 MB, free: 6.625 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.963/1.963, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001325/0.001325, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3165, allocations: 46.62 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.0158/0.3323, allocations: 12.72 MB / 337.6 MB, free: 7.348 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3433, allocations: 4.199 MB / 341.8 MB, free: 3.137 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/0.3485, allocations: 63.69 kB / 341.8 MB, free: 3.074 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004413/0.353, allocations: 0.8548 MB / 342.7 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008019/0.361, allocations: 1.068 MB / 343.8 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.3632, allocations: 471.6 kB / 344.2 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0078/0.371, allocations: 4.661 MB / 348.9 MB, free: 12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005134/0.3762, allocations: 3.606 MB / 352.5 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005603/0.3818, allocations: 2.119 MB / 354.6 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005931/0.3878, allocations: 2.62 MB / 357.2 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002029/0.3898, allocations: 0.5547 MB / 357.8 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.3928, allocations: 0.6405 MB / 358.4 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002211/0.3951, allocations: 1.523 MB / 359.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005365/0.4005, allocations: 2.489 MB / 362.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009302/0.4098, allocations: 7.345 MB / 369.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4098, allocations: 0 / 369.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4099, allocations: 0 / 369.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002722/0.4101, allocations: 0 / 369.8 MB, free: 6.984 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.01682/0.427, allocations: 4.695 MB / 374.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.348e-05/0.427, allocations: 12.03 kB / 374.5 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.4291, allocations: 0.4917 MB / 375 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/0.434, allocations: 2.38 MB / 377.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.4342, allocations: 271 kB / 377.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000694/0.4349, allocations: 355.9 kB / 378 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.4454, allocations: 5.025 MB / 383 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.4455, allocations: 7.906 kB / 383 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/0.4459, allocations: 144 kB / 383.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.4461, allocations: 183 kB / 383.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008596/0.4547, allocations: 4.291 MB / 387.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03065/0.4854, allocations: 14.9 MB / 402.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.4901, allocations: 4.203 MB / 406.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/0.4933, allocations: 1.999 MB / 408.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.4937, allocations: 131.1 kB / 408.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.897e-05/0.4937, allocations: 60.56 kB / 408.9 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.738e-06/0.4938, allocations: 4.375 kB / 408.9 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02105/0.5148, allocations: 10.02 MB / 418.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.515, allocations: 73.41 kB / 419 MB, free: 4.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/0.5196, allocations: 2.51 MB / 421.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003747/0.52, allocations: 61.7 kB / 421.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.5214, allocations: 1.619 MB / 423.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008745/0.5223, allocations: 0.7357 MB / 423.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007907/0.5231, allocations: 412.3 kB / 424.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5233, allocations: 313.1 kB / 424.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.5256, allocations: 1.297 MB / 425.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.5281, allocations: 1.779 MB / 427.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/0.533, allocations: 3.215 MB / 430.9 MB, free: 8.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.5331, allocations: 7.938 kB / 430.9 MB, free: 8.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008907/0.542, allocations: 4.067 MB / 435 MB, free: 4.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.5421, allocations: 12 kB / 435 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.146e-05/0.5421, allocations: 12 kB / 435 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003088/0.5452, allocations: 0.887 MB / 435.9 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.5474, allocations: 0.5266 MB / 436.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.561, allocations: 9.494 MB / 445.9 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/0.564, allocations: 115.8 kB / 446 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/0.5644, allocations: 83.98 kB / 446.1 MB, free: 8.754 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.003083/0.5675, allocations: 1.215 MB / 447.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008125/0.5683, allocations: 276.7 kB / 447.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006679/0.575, allocations: 3.723 MB / 451.3 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.5751, allocations: 20 kB / 451.3 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.5751, allocations: 8 kB / 451.3 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.5751, allocations: 15.89 kB / 451.4 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2778/0.8529, allocations: 8.078 MB / 459.4 MB, free: 109.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.853, allocations: 3.344 kB / 459.4 MB, free: 109.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.8546, allocations: 383.1 kB / 459.8 MB, free: 109.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/0.8576, allocations: 0.9279 MB / 460.7 MB, free: 109.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.8579, allocations: 56.92 kB / 460.8 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009277/0.8672, allocations: 11.06 MB / 471.9 MB, free: 101.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.8672, allocations: 7.25 kB / 471.9 MB, free: 101.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007291/0.8745, allocations: 5.511 MB / 477.4 MB, free: 98.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/0.8761, allocations: 0.6387 MB / 478 MB, free: 98.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/0.8766, allocations: 51.98 kB / 478.1 MB, free: 98.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.8779, allocations: 118.5 kB / 478.2 MB, free: 98.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004347/0.8783, allocations: 181.7 kB / 478.4 MB, free: 98.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.8785, allocations: 63.7 kB / 478.4 MB, free: 97.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002262/0.8807, allocations: 1.723 MB / 480.2 MB, free: 96.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8808, allocations: 0 / 480.2 MB, free: 96.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002172/0.8829, allocations: 0.8046 MB / 481 MB, free: 95.43 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.0005795/0.8835, allocations: 238.1 kB / 481.2 MB, free: 95.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008746/0.8923, allocations: 5.707 MB / 486.9 MB, free: 89.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.8923, allocations: 3.938 kB / 486.9 MB, free: 89.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.8952, allocations: 2.475 MB / 489.4 MB, free: 86.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/0.8988, allocations: 0.7786 MB / 490.2 MB, free: 86.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.9106, allocations: 9.372 MB / 499.5 MB, free: 76.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/0.9131, allocations: 2.777 MB / 0.4905 GB, free: 73.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002483/0.9156, allocations: 0.6788 MB / 0.4912 GB, free: 73.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007623/0.9164, allocations: 179.4 kB / 0.4914 GB, free: 73.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.9164, allocations: 0 / 0.4914 GB, free: 73.12 MB / 382.1 MB Notification: Performance of Templates: time 0.06848/0.9849, allocations: 46.22 MB / 0.5365 GB, free: 26.86 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1)