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.01082/0.01082, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001739/0.001739, allocations: 191 kB / 16.67 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.982/1.982, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.00185/0.00185, allocations: 54.98 kB / 326.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.138, allocations: 46.63 MB / 373.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00717/0.1453, allocations: 5.84 MB / 379 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004755/0.15, allocations: 2.131 MB / 381.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.1514, allocations: 35.81 kB / 381.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.153, allocations: 401.4 kB / 381.6 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.1555, allocations: 0.5749 MB / 382.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.1563, allocations: 231.8 kB / 382.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.1595, allocations: 2.291 MB / 384.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.1626, allocations: 1.887 MB / 386.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.1656, allocations: 1.051 MB / 387.6 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.1682, allocations: 1.207 MB / 388.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008649/0.1691, allocations: 288 kB / 389.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1702, allocations: 367.8 kB / 389.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006869/0.1709, allocations: 0.709 MB / 390.2 MB, free: 316 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.1723, allocations: 1.222 MB / 391.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003796/0.1761, allocations: 3.774 MB / 395.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1761, allocations: 0 / 395.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1762, allocations: 4 kB / 395.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.555e-05/0.1762, allocations: 0 / 395.2 MB, free: 11.29 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.004707/0.1809, allocations: 2.365 MB / 397.5 MB, free: 8.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.181, allocations: 12.03 kB / 397.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.1817, allocations: 250.3 kB / 397.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.1838, allocations: 1.255 MB / 399 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.1839, allocations: 131.5 kB / 399.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.1842, allocations: 176 kB / 399.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/0.1887, allocations: 2.543 MB / 401.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.1888, allocations: 0 / 401.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.1889, allocations: 75.94 kB / 402 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.189, allocations: 95.58 kB / 402.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003571/0.1926, allocations: 2.107 MB / 404.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.2046, allocations: 7.359 MB / 411.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.2062, allocations: 1.267 MB / 412.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.207, allocations: 478.9 kB / 413.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.2072, allocations: 113.6 kB / 413.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.2073, allocations: 50.92 kB / 413.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 3.537e-06/0.2073, allocations: 0 / 413.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.004874/0.2122, allocations: 2.261 MB / 415.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.2123, allocations: 85.55 kB / 415.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.2148, allocations: 1.512 MB / 417.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.2149, allocations: 33.7 kB / 417.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007672/0.2157, allocations: 0.9749 MB / 418.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.2159, allocations: 189.4 kB / 418.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.2162, allocations: 238.6 kB / 418.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2164, allocations: 365.9 kB / 419.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006992/0.2171, allocations: 458.3 kB / 419.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.2183, allocations: 1.091 MB / 420.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.2204, allocations: 1.623 MB / 422.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.2204, allocations: 4 kB / 422.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002711/0.2231, allocations: 1.687 MB / 423.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.2232, allocations: 19.89 kB / 423.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.2232, allocations: 24.5 kB / 423.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.2238, allocations: 156.7 kB / 424.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/0.2247, allocations: 283.5 kB / 424.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.2272, allocations: 2.361 MB / 426.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.2284, allocations: 83.67 kB / 426.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/0.2285, allocations: 71.98 kB / 426.9 MB, free: 10.11 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.00132/0.2298, allocations: 0.7078 MB / 427.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.2301, allocations: 138.4 kB / 427.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.2316, allocations: 0.8373 MB / 428.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.2316, allocations: 8 kB / 428.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2317, allocations: 3.938 kB / 428.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2317, allocations: 7.984 kB / 428.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.2358, allocations: 2.479 MB / 431.1 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.2358, allocations: 4 kB / 431.1 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.2362, allocations: 104.3 kB / 431.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/0.2367, allocations: 140.6 kB / 431.3 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.2368, allocations: 16 kB / 431.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.2395, allocations: 2.295 MB / 433.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2396, allocations: 4 kB / 433.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.2419, allocations: 1.325 MB / 434.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006605/0.2426, allocations: 283.5 kB / 435.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.2427, allocations: 12 kB / 435.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.2433, allocations: 48.03 kB / 435.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.2435, allocations: 55.81 kB / 435.3 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.2436, allocations: 23.98 kB / 435.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001786/0.2454, allocations: 1.04 MB / 436.4 MB, free: 248 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2454, allocations: 0 / 436.4 MB, free: 248 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001711/0.2471, allocations: 356 kB / 436.8 MB, free: 15.89 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.0005856/0.2477, allocations: 187.2 kB / 436.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.2497, allocations: 1.152 MB / 438.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.2497, allocations: 4 kB / 438.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008763/0.2506, allocations: 0.5114 MB / 438.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.2521, allocations: 360.4 kB / 439 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/0.2586, allocations: 3.156 MB / 442.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/0.2607, allocations: 1.702 MB / 443.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001215/0.2619, allocations: 323.3 kB / 444.1 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.2621, allocations: 99.36 kB / 444.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2621, allocations: 0 / 444.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of Templates: time 0.3467/0.6089, allocations: 18.96 MB / 463.2 MB, free: 65.53 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)