Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.009702/0.009702, allocations: 100.1 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.001574/0.001574, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.937/1.937, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001872/0.001872, allocations: 58.67 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1623, allocations: 46.63 MB / 373.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01024/0.1726, allocations: 5.852 MB / 379 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007636/0.1804, allocations: 2.131 MB / 381.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.1824, allocations: 35.81 kB / 381.2 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.1848, allocations: 397.4 kB / 381.6 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.1882, allocations: 0.5788 MB / 382.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1895, allocations: 231.7 kB / 382.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004463/0.1939, allocations: 2.291 MB / 384.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00421/0.1982, allocations: 1.875 MB / 386.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.2023, allocations: 1.059 MB / 387.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/0.2056, allocations: 1.207 MB / 388.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.2068, allocations: 288 kB / 389.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.2091, allocations: 371.8 kB / 389.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.2109, allocations: 0.7091 MB / 390.2 MB, free: 332 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003752/0.2146, allocations: 1.218 MB / 391.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007178/0.2218, allocations: 3.774 MB / 395.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.2219, allocations: 0 / 395.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2219, allocations: 0 / 395.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001239/0.222, allocations: 0 / 395.2 MB, free: 11.32 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.006235/0.2283, allocations: 2.373 MB / 397.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.2284, allocations: 15.97 kB / 397.5 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.2292, allocations: 250.3 kB / 397.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.2319, allocations: 1.243 MB / 399 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.232, allocations: 135.5 kB / 399.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.2323, allocations: 176 kB / 399.3 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00467/0.237, allocations: 2.543 MB / 401.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.2371, allocations: 8 kB / 401.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.2373, allocations: 68 kB / 402 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.2374, allocations: 99.58 kB / 402.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/0.241, allocations: 2.103 MB / 404.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.2538, allocations: 7.363 MB / 411.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.2555, allocations: 1.267 MB / 412.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.2563, allocations: 474.9 kB / 413.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.2566, allocations: 113.5 kB / 413.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.2567, allocations: 42.94 kB / 413.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 3.386e-06/0.2567, allocations: 0 / 413.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.00516/0.2618, allocations: 2.265 MB / 415.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.2619, allocations: 85.55 kB / 415.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.2642, allocations: 1.508 MB / 417.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.2643, allocations: 37.7 kB / 417.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000792/0.2651, allocations: 0.975 MB / 418.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.2653, allocations: 197.4 kB / 418.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003966/0.2657, allocations: 238.6 kB / 418.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.2659, allocations: 357.9 kB / 419 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007611/0.2667, allocations: 458.3 kB / 419.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.268, allocations: 1.09 MB / 420.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.2701, allocations: 1.623 MB / 422.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.2701, allocations: 4 kB / 422.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00305/0.2731, allocations: 1.691 MB / 423.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.2732, allocations: 16.03 kB / 423.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.503e-05/0.2733, allocations: 24 kB / 423.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006751/0.2739, allocations: 152.7 kB / 424.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/0.2748, allocations: 291.5 kB / 424.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.2776, allocations: 2.365 MB / 426.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.2789, allocations: 87.67 kB / 426.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/0.279, allocations: 64 kB / 426.9 MB, free: 10.12 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.00134/0.2803, allocations: 0.7117 MB / 427.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.2807, allocations: 134.4 kB / 427.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.2823, allocations: 0.8334 MB / 428.6 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2823, allocations: 8 kB / 428.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2823, allocations: 7.938 kB / 428.6 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2824, allocations: 3.984 kB / 428.6 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.2871, allocations: 2.483 MB / 431.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.2871, allocations: 7.984 kB / 431.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.2876, allocations: 95.83 kB / 431.2 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000541/0.2881, allocations: 140.8 kB / 431.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.2882, allocations: 16 kB / 431.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002896/0.2911, allocations: 2.298 MB / 433.6 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.2911, allocations: 4.031 kB / 433.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.2936, allocations: 1.329 MB / 435 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007529/0.2944, allocations: 283.6 kB / 435.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.2947, allocations: 16 kB / 435.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.2955, allocations: 39.97 kB / 435.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.2957, allocations: 55.81 kB / 435.3 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.2958, allocations: 27.98 kB / 435.4 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002169/0.2979, allocations: 1.036 MB / 436.4 MB, free: 268 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2979, allocations: 0 / 436.4 MB, free: 268 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.002292/0.3002, allocations: 356 kB / 436.7 MB, free: 15.91 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.000674/0.3009, allocations: 175.2 kB / 436.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.3036, allocations: 1.155 MB / 438.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.3036, allocations: 1.812 kB / 438.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.3047, allocations: 0.5144 MB / 438.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.3069, allocations: 368.5 kB / 439 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007193/0.3141, allocations: 3.16 MB / 442.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/0.3162, allocations: 1.698 MB / 443.8 MB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001204/0.3174, allocations: 323.3 kB / 444.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.3178, allocations: 95.36 kB / 444.2 MB, free: 8.312 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3178, allocations: 0 / 444.2 MB, free: 8.312 MB / 382.1 MB Notification: Performance of Templates: time 0.2965/0.6142, allocations: 18.97 MB / 463.2 MB, free: 65.93 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)