Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001481/0.001481, allocations: 90.11 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.00151/0.00151, allocations: 177 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.882/1.882, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004812/0.0004813, allocations: 8 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1428, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007681/0.1505, allocations: 5.392 MB / 333.7 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.1558, allocations: 2.093 MB / 335.8 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.1573, allocations: 27.88 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.159, allocations: 330.4 kB / 336.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.1618, allocations: 0.5092 MB / 336.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.1628, allocations: 203.7 kB / 336.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003788/0.1666, allocations: 2.541 MB / 339.4 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.1692, allocations: 1.527 MB / 340.9 MB, free: 7.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.1722, allocations: 0.784 MB / 341.7 MB, free: 6.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.1746, allocations: 1.015 MB / 342.7 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006847/0.1753, allocations: 128 kB / 342.9 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.1766, allocations: 223.8 kB / 343.1 MB, free: 4.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.1776, allocations: 0.5177 MB / 343.6 MB, free: 4.375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002051/0.1797, allocations: 1.036 MB / 344.6 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003697/0.1834, allocations: 3.543 MB / 348.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1835, allocations: 4 kB / 348.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1835, allocations: 0 / 348.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.674e-05/0.1836, allocations: 0 / 348.2 MB, free: 15.77 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004865/0.1884, allocations: 2.01 MB / 350.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.1885, allocations: 12.03 kB / 350.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008247/0.1894, allocations: 254.2 kB / 350.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.1914, allocations: 1.224 MB / 351.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.1915, allocations: 135.5 kB / 351.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.1918, allocations: 179.9 kB / 352 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004663/0.1965, allocations: 2.547 MB / 354.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.1965, allocations: 3.938 kB / 354.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.1967, allocations: 72 kB / 354.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.1968, allocations: 95.58 kB / 354.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/0.2006, allocations: 2.122 MB / 356.8 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01336/0.2139, allocations: 7.519 MB / 364.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.2157, allocations: 1.271 MB / 365.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/0.2165, allocations: 482.9 kB / 366.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.2168, allocations: 117.5 kB / 366.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.2168, allocations: 42.94 kB / 366.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.605e-06/0.2168, allocations: 0 / 366.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004762/0.2216, allocations: 2.292 MB / 368.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.2217, allocations: 89.55 kB / 368.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.224, allocations: 1.508 MB / 370.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.2241, allocations: 37.7 kB / 370.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008115/0.2249, allocations: 0.9672 MB / 371.1 MB, free: 8.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.2251, allocations: 205.3 kB / 371.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.2253, allocations: 97.67 kB / 371.4 MB, free: 7.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.2255, allocations: 361.9 kB / 371.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007068/0.2262, allocations: 466.3 kB / 372.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.2275, allocations: 1.102 MB / 373.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.2296, allocations: 1.627 MB / 375 MB, free: 3.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.2296, allocations: 4 kB / 375 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003327/0.233, allocations: 1.702 MB / 376.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.233, allocations: 15.12 kB / 376.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/0.2331, allocations: 28.05 kB / 376.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008796/0.234, allocations: 177.1 kB / 376.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008661/0.2348, allocations: 295.5 kB / 377.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2416/0.4764, allocations: 2.144 MB / 379.3 MB, free: 48.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.4781, allocations: 93.98 kB / 379.4 MB, free: 48.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.4783, allocations: 66.61 kB / 379.5 MB, free: 48.59 MB / 318.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.001481/0.4798, allocations: 0.7079 MB / 380.2 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.4801, allocations: 134.7 kB / 380.3 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.4822, allocations: 0.8473 MB / 381.2 MB, free: 48.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.4822, allocations: 8.906 kB / 381.2 MB, free: 48.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4822, allocations: 1.906 kB / 381.2 MB, free: 48.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4822, allocations: 2.859 kB / 381.2 MB, free: 48.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.4865, allocations: 2.517 MB / 383.7 MB, free: 47.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4866, allocations: 2.062 kB / 383.7 MB, free: 47.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.487, allocations: 108.5 kB / 383.8 MB, free: 47.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007549/0.4877, allocations: 151.1 kB / 383.9 MB, free: 47.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.4878, allocations: 17.22 kB / 384 MB, free: 47.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.4899, allocations: 2.097 MB / 386.1 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4899, allocations: 3.312 kB / 386.1 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.4922, allocations: 1.33 MB / 387.4 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/0.4929, allocations: 290.7 kB / 387.7 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.493, allocations: 15.48 kB / 387.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.4936, allocations: 53.17 kB / 387.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.4938, allocations: 54.23 kB / 387.8 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.4938, allocations: 20.56 kB / 387.8 MB, free: 45.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001769/0.4956, allocations: 1.039 MB / 388.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4956, allocations: 0 / 388.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001569/0.4972, allocations: 351 kB / 389.2 MB, free: 44.7 MB / 318.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.0004835/0.4977, allocations: 176 kB / 389.4 MB, free: 44.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.5001, allocations: 1.166 MB / 390.5 MB, free: 44.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.5002, allocations: 4.969 kB / 390.5 MB, free: 44.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.5012, allocations: 0.5184 MB / 391.1 MB, free: 43.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.5035, allocations: 366.2 kB / 391.4 MB, free: 43.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.5093, allocations: 3.976 MB / 395.4 MB, free: 41.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.5109, allocations: 1.7 MB / 397.1 MB, free: 40.51 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.5121, allocations: 324.1 kB / 397.4 MB, free: 40.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.5123, allocations: 88.42 kB / 397.5 MB, free: 40.46 MB / 318.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5123, allocations: 0 / 397.5 MB, free: 40.46 MB / 318.1 MB Notification: Performance of Templates: time 0.02919/0.5415, allocations: 17.61 MB / 415.1 MB, free: 25.05 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)