Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007732/0.007732, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001411/0.001411, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.952/1.952, allocations: 205.1 MB / 222.6 MB, free: 4.547 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.001197/0.001197, allocations: 57.12 kB / 326.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1252, allocations: 46.62 MB / 373.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007987/0.1332, allocations: 5.86 MB / 379 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004994/0.1383, allocations: 2.131 MB / 381.2 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009624/0.1393, allocations: 31.88 kB / 381.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1405, allocations: 409.4 kB / 381.6 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.1421, allocations: 0.5632 MB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.1426, allocations: 235.7 kB / 382.4 MB, free: 8.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002314/0.145, allocations: 2.288 MB / 384.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.147, allocations: 1.887 MB / 386.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.1494, allocations: 1.055 MB / 387.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.1512, allocations: 1.21 MB / 388.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000372/0.1516, allocations: 288 kB / 389.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007176/0.1523, allocations: 371.8 kB / 389.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006338/0.153, allocations: 0.6974 MB / 390.2 MB, free: 236 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.1544, allocations: 1.225 MB / 391.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003922/0.1583, allocations: 3.78 MB / 395.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.1583, allocations: 11.98 kB / 395.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1583, allocations: 0 / 395.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.227e-05/0.1584, allocations: 0 / 395.2 MB, free: 11.2 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004771/0.1632, allocations: 2.417 MB / 397.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1632, allocations: 12.03 kB / 397.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006809/0.1639, allocations: 263.5 kB / 397.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.1662, allocations: 1.252 MB / 399.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.363e-05/0.1663, allocations: 131.5 kB / 399.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/0.1666, allocations: 176 kB / 399.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/0.1707, allocations: 2.555 MB / 402 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.1708, allocations: 0 / 402 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.171, allocations: 72 kB / 402 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.1711, allocations: 91.58 kB / 402.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/0.1752, allocations: 2.106 MB / 404.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.1893, allocations: 7.397 MB / 411.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.1911, allocations: 1.271 MB / 412.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009055/0.192, allocations: 470.9 kB / 413.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/0.1924, allocations: 113.5 kB / 413.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.1925, allocations: 46.94 kB / 413.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 4.278e-06/0.1925, allocations: 0 / 413.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.005729/0.1982, allocations: 2.287 MB / 415.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.1984, allocations: 81.55 kB / 415.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.201, allocations: 1.516 MB / 417.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.2011, allocations: 41.64 kB / 417.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000782/0.2019, allocations: 0.994 MB / 418.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.2021, allocations: 210.3 kB / 418.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.2025, allocations: 238.8 kB / 418.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.2027, allocations: 361.9 kB / 419.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007196/0.2034, allocations: 454.3 kB / 419.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.2047, allocations: 1.091 MB / 420.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/0.2075, allocations: 1.623 MB / 422.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.2075, allocations: 4 kB / 422.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003203/0.2107, allocations: 1.695 MB / 424.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.2108, allocations: 16 kB / 424.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.2108, allocations: 20 kB / 424.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006967/0.2115, allocations: 161 kB / 424.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.2126, allocations: 283.5 kB / 424.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.2157, allocations: 2.369 MB / 426.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.2172, allocations: 84.05 kB / 427 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.2173, allocations: 68 kB / 427.1 MB, free: 9.848 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001701/0.219, allocations: 0.7078 MB / 427.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.2195, allocations: 143.1 kB / 427.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.2211, allocations: 0.8411 MB / 428.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.2212, allocations: 11.98 kB / 428.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2212, allocations: 0 / 428.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2212, allocations: 3.984 kB / 428.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004374/0.2256, allocations: 2.494 MB / 431.3 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.2256, allocations: 7.984 kB / 431.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.2259, allocations: 87.89 kB / 431.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004935/0.2265, allocations: 141 kB / 431.5 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.2265, allocations: 12 kB / 431.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.2288, allocations: 2.307 MB / 433.8 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2288, allocations: 64 / 433.8 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.2308, allocations: 1.337 MB / 435.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/0.2313, allocations: 292.2 kB / 435.4 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.2315, allocations: 12 kB / 435.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.232, allocations: 43.97 kB / 435.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.2322, allocations: 55.88 kB / 435.6 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.2322, allocations: 19.98 kB / 435.6 MB, free: 1.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001528/0.2338, allocations: 1.04 MB / 436.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2338, allocations: 192 / 436.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001418/0.2352, allocations: 347.9 kB / 437 MB, free: 15.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004607/0.2357, allocations: 186.9 kB / 437.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.2375, allocations: 1.145 MB / 438.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.2375, allocations: 4 kB / 438.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.2383, allocations: 0.5149 MB / 438.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.2397, allocations: 372.5 kB / 439.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.2448, allocations: 3.211 MB / 442.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.246, allocations: 1.702 MB / 444.1 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008184/0.2469, allocations: 327.2 kB / 444.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.2471, allocations: 83.44 kB / 444.5 MB, free: 7.961 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2471, allocations: 0 / 444.5 MB, free: 7.961 MB / 382.1 MB Notification: Performance of Templates: time 0.2679/0.5149, allocations: 18.97 MB / 463.4 MB, free: 65.46 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)