Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0008508/0.0008511, allocations: 90.12 kB / 16.65 MB, free: 6.535 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.0009896/0.0009896, allocations: 177.9 kB / 17.56 MB, free: 6.18 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.659/1.659, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004579/0.0004579, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01385/0.138, allocations: 12.11 MB / 340.4 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008669/0.1467, allocations: 4.165 MB / 344.6 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.1489, allocations: 59.69 kB / 344.7 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.1515, allocations: 0.8431 MB / 345.5 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.1559, allocations: 1.08 MB / 346.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1573, allocations: 471.5 kB / 347 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007578/0.1648, allocations: 5.366 MB / 352.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004123/0.169, allocations: 2.942 MB / 355.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005952/0.175, allocations: 1.594 MB / 356.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005567/0.1806, allocations: 2.186 MB / 359.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002204/0.1829, allocations: 248 kB / 359.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.1861, allocations: 343.8 kB / 359.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.1887, allocations: 1.145 MB / 360.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005752/0.1944, allocations: 2.096 MB / 362.9 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.2062, allocations: 6.937 MB / 369.9 MB, free: 9.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.2063, allocations: 0 / 369.9 MB, free: 9.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.694e-06/0.2063, allocations: 0 / 369.9 MB, free: 9.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.00042/0.2068, allocations: 4 kB / 369.9 MB, free: 9.969 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.01201/0.2188, allocations: 3.943 MB / 373.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.2189, allocations: 15.97 kB / 373.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/0.2215, allocations: 0.4956 MB / 374.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005145/0.2266, allocations: 2.384 MB / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.2269, allocations: 259 kB / 377 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000787/0.2277, allocations: 359.9 kB / 377.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2598/0.4875, allocations: 5.032 MB / 382.4 MB, free: 32.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.4877, allocations: 2.031 kB / 382.4 MB, free: 32.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004474/0.4882, allocations: 146.1 kB / 382.5 MB, free: 32.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002816/0.4885, allocations: 181.1 kB / 382.7 MB, free: 32.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.5014, allocations: 4.315 MB / 387 MB, free: 32.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03116/0.5326, allocations: 15.01 MB / 402 MB, free: 24.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.5367, allocations: 4.208 MB / 406.2 MB, free: 21.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002857/0.5396, allocations: 2.007 MB / 408.2 MB, free: 20.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.5399, allocations: 145 kB / 408.4 MB, free: 20.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.5399, allocations: 51.88 kB / 408.4 MB, free: 20.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.128e-06/0.5399, allocations: 0 / 408.4 MB, free: 20.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.0209/0.5608, allocations: 10.12 MB / 418.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.5609, allocations: 74.25 kB / 418.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/0.5653, allocations: 2.502 MB / 421.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005985/0.5659, allocations: 64 kB / 421.2 MB, free: 7.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.5672, allocations: 1.621 MB / 422.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001047/0.5683, allocations: 0.7337 MB / 423.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004669/0.5687, allocations: 195.3 kB / 423.7 MB, free: 5.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5689, allocations: 305.1 kB / 424 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.5711, allocations: 1.316 MB / 425.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.5732, allocations: 1.795 MB / 427.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005256/0.5785, allocations: 3.24 MB / 430.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-05/0.5786, allocations: 4 kB / 430.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008809/0.5874, allocations: 4.095 MB / 434.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.5875, allocations: 15.56 kB / 434.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/0.5875, allocations: 12 kB / 434.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/0.5908, allocations: 0.8773 MB / 435.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.5932, allocations: 0.5277 MB / 435.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/0.6102, allocations: 8.765 MB / 444.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/0.614, allocations: 119.9 kB / 444.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/0.6145, allocations: 84 kB / 444.9 MB, free: 15.47 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.004041/0.6186, allocations: 1.224 MB / 446.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/0.6199, allocations: 274.8 kB / 446.3 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.6306, allocations: 3.742 MB / 450.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-05/0.6307, allocations: 23.94 kB / 450.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/0.6307, allocations: 8 kB / 450.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-05/0.6308, allocations: 11.95 kB / 450.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02631/0.6571, allocations: 8.115 MB / 458.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/0.6572, allocations: 4 kB / 458.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/0.6598, allocations: 389.3 kB / 458.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004703/0.6646, allocations: 0.9341 MB / 459.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005089/0.6651, allocations: 55.97 kB / 459.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.6823, allocations: 10.2 MB / 469.8 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6823, allocations: 3.375 kB / 469.8 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/0.6968, allocations: 5.549 MB / 475.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/0.6991, allocations: 0.6382 MB / 476 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008025/0.7, allocations: 55.92 kB / 476.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/0.7022, allocations: 131.9 kB / 476.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006401/0.7028, allocations: 177.5 kB / 476.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/0.7031, allocations: 62.39 kB / 476.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004272/0.7074, allocations: 1.734 MB / 478.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.41e-07/0.7074, allocations: 4 kB / 478.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004506/0.7119, allocations: 0.8 MB / 479 MB, free: 12.81 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.0009283/0.7129, allocations: 246.9 kB / 479.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009642/0.7225, allocations: 3.9 MB / 483.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.7226, allocations: 4.188 kB / 483.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006698/0.7293, allocations: 2.491 MB / 485.6 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00942/0.7388, allocations: 0.7321 MB / 486.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02499/0.7639, allocations: 9.527 MB / 495.9 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004503/0.7684, allocations: 2.777 MB / 498.6 MB, free: 9.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003554/0.772, allocations: 0.6788 MB / 499.3 MB, free: 8.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.7731, allocations: 175.4 kB / 499.5 MB, free: 8.18 MB / 398.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7731, allocations: 0 / 499.5 MB, free: 8.18 MB / 398.1 MB Notification: Performance of Templates: time 0.3638/1.137, allocations: 43.84 MB / 0.5306 GB, free: 143 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1)