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.009058/0.009058, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001987/0.001987, allocations: 187 kB / 16.67 MB, free: 5.949 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.923/1.923, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001441/0.001441, allocations: 54.64 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1232, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008841/0.1321, allocations: 5.833 MB / 379 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.1378, allocations: 2.139 MB / 381.2 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.1397, allocations: 27.88 kB / 381.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.1414, allocations: 401.3 kB / 381.6 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.1444, allocations: 0.5554 MB / 382.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.1458, allocations: 231.8 kB / 382.4 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004299/0.1502, allocations: 2.28 MB / 384.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/0.1534, allocations: 1.895 MB / 386.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.1566, allocations: 1.055 MB / 387.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.1597, allocations: 1.21 MB / 388.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.1609, allocations: 288 kB / 389.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.1629, allocations: 371.8 kB / 389.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.1641, allocations: 0.7012 MB / 390.1 MB, free: 252 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.1662, allocations: 1.225 MB / 391.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.1703, allocations: 3.778 MB / 395.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.1704, allocations: 0 / 395.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.222e-06/0.1704, allocations: 0 / 395.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.421e-05/0.1705, allocations: 3.938 kB / 395.1 MB, free: 11.22 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.005271/0.1757, allocations: 2.369 MB / 397.5 MB, free: 8.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1758, allocations: 8.031 kB / 397.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007475/0.1766, allocations: 250.3 kB / 397.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.1792, allocations: 1.244 MB / 399 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.1794, allocations: 139.5 kB / 399.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.1797, allocations: 172 kB / 399.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/0.1845, allocations: 2.547 MB / 401.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.1846, allocations: 4 kB / 401.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.1847, allocations: 75.98 kB / 401.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/0.1849, allocations: 95.58 kB / 402 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/0.1887, allocations: 2.103 MB / 404.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.202, allocations: 7.363 MB / 411.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.204, allocations: 1.271 MB / 412.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008114/0.2048, allocations: 474.9 kB / 413.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.2051, allocations: 117.5 kB / 413.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/0.2052, allocations: 43 kB / 413.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 4.268e-06/0.2052, allocations: 0 / 413.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.00494/0.2101, allocations: 2.265 MB / 415.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.2102, allocations: 81.55 kB / 415.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.2127, allocations: 1.508 MB / 417.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.2128, allocations: 41.69 kB / 417.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008097/0.2136, allocations: 0.971 MB / 418.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.2138, allocations: 193.4 kB / 418.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.2141, allocations: 242.6 kB / 418.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.2143, allocations: 357.9 kB / 419 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006835/0.215, allocations: 454.3 kB / 419.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.2162, allocations: 1.094 MB / 420.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.2182, allocations: 1.619 MB / 422.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/0.2182, allocations: 8 kB / 422.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002942/0.2212, allocations: 1.683 MB / 423.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.2212, allocations: 20.12 kB / 423.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.2213, allocations: 20 kB / 423.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006983/0.222, allocations: 164.7 kB / 424.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/0.2229, allocations: 279.5 kB / 424.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.2256, allocations: 2.357 MB / 426.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.2267, allocations: 83.67 kB / 426.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.2268, allocations: 71.98 kB / 426.9 MB, free: 10.04 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.001239/0.2281, allocations: 0.7117 MB / 427.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.2283, allocations: 130.5 kB / 427.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.2299, allocations: 0.8451 MB / 428.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.2299, allocations: 11.94 kB / 428.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2299, allocations: 4 kB / 428.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2299, allocations: 3.984 kB / 428.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/0.2343, allocations: 2.479 MB / 431 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.2343, allocations: 11.97 kB / 431.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.2347, allocations: 95.88 kB / 431.1 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005649/0.2353, allocations: 136.6 kB / 431.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.2353, allocations: 16.19 kB / 431.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.2378, allocations: 2.306 MB / 433.6 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2378, allocations: 0 / 433.6 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.24, allocations: 1.325 MB / 434.9 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007044/0.2407, allocations: 287.5 kB / 435.2 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.2409, allocations: 16.06 kB / 435.2 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/0.2415, allocations: 39.97 kB / 435.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.2417, allocations: 59.81 kB / 435.3 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.2418, allocations: 23.98 kB / 435.3 MB, free: 1.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.2434, allocations: 1.032 MB / 436.4 MB, free: 184 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2434, allocations: 0 / 436.4 MB, free: 184 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001692/0.2451, allocations: 355.9 kB / 436.7 MB, free: 15.83 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.000582/0.2457, allocations: 190.9 kB / 436.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.248, allocations: 1.148 MB / 438.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.2481, allocations: 4 kB / 438.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008837/0.2489, allocations: 0.5121 MB / 438.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.2507, allocations: 356.6 kB / 438.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.2566, allocations: 3.168 MB / 442.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.2582, allocations: 1.694 MB / 443.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001179/0.2594, allocations: 331.2 kB / 444.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.2596, allocations: 95.42 kB / 444.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.2596, allocations: 0 / 444.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of Templates: time 0.2881/0.5477, allocations: 19.1 MB / 463.3 MB, free: 65.41 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)