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.01061/0.01061, allocations: 99.83 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.001812/0.001812, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.833/1.833, 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.001217/0.001217, allocations: 46.16 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008867/0.1437, allocations: 5.848 MB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.1491, allocations: 2.135 MB / 381.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000527/0.1497, allocations: 35.81 kB / 381.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1508, allocations: 401.4 kB / 381.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.1522, allocations: 0.5437 MB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.1527, allocations: 231.8 kB / 382.3 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.155, allocations: 2.288 MB / 384.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.1573, allocations: 1.891 MB / 386.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.1597, allocations: 1.051 MB / 387.6 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.1613, allocations: 1.203 MB / 388.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003546/0.1617, allocations: 288 kB / 389.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.1624, allocations: 371.8 kB / 389.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006712/0.1631, allocations: 0.7012 MB / 390.1 MB, free: 244 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.1646, allocations: 1.229 MB / 391.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00444/0.1691, allocations: 3.78 MB / 395.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1691, allocations: 0 / 395.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1691, allocations: 4 kB / 395.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.141e-05/0.1692, allocations: 0 / 395.1 MB, free: 11.21 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.005673/0.1749, allocations: 2.425 MB / 397.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.175, allocations: 8.031 kB / 397.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/0.1758, allocations: 263.5 kB / 397.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.1778, allocations: 1.248 MB / 399.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.1779, allocations: 135.5 kB / 399.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.1782, allocations: 175.9 kB / 399.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/0.1825, allocations: 2.547 MB / 401.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.1825, allocations: 3.938 kB / 401.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.1827, allocations: 72 kB / 402 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.1828, allocations: 95.58 kB / 402.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/0.1862, allocations: 2.103 MB / 404.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.1969, allocations: 7.393 MB / 411.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.1984, allocations: 1.271 MB / 412.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/0.1991, allocations: 470.9 kB / 413.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.1994, allocations: 113.5 kB / 413.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.1994, allocations: 46.94 kB / 413.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 3.386e-06/0.1994, allocations: 0 / 413.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.004269/0.2037, allocations: 2.291 MB / 415.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.2038, allocations: 81.55 kB / 415.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.2059, allocations: 1.52 MB / 417.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.206, allocations: 33.7 kB / 417.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009156/0.2069, allocations: 0.9978 MB / 418.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.2071, allocations: 206.3 kB / 418.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004289/0.2076, allocations: 238.8 kB / 418.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.2079, allocations: 365.8 kB / 419.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009687/0.2088, allocations: 458.3 kB / 419.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.2103, allocations: 1.094 MB / 420.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.2124, allocations: 1.615 MB / 422.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.2124, allocations: 8 kB / 422.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002739/0.2152, allocations: 1.692 MB / 424 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.2152, allocations: 19.91 kB / 424.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.2153, allocations: 20 kB / 424.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/0.216, allocations: 160.9 kB / 424.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/0.2169, allocations: 283.5 kB / 424.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.2199, allocations: 2.365 MB / 426.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.2211, allocations: 83.86 kB / 427 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.2212, allocations: 68 kB / 427 MB, free: 9.859 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.001523/0.2227, allocations: 0.7118 MB / 427.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.223, allocations: 139.2 kB / 427.9 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.2246, allocations: 0.8528 MB / 428.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2246, allocations: 4 kB / 428.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2246, allocations: 3.984 kB / 428.7 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2246, allocations: 0 / 428.7 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003949/0.2286, allocations: 2.49 MB / 431.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.2286, allocations: 4.188 kB / 431.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.229, allocations: 99.81 kB / 431.3 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/0.2295, allocations: 132.9 kB / 431.5 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.2295, allocations: 16 kB / 431.5 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/0.2321, allocations: 2.299 MB / 433.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.2321, allocations: 4 kB / 433.8 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.234, allocations: 1.341 MB / 435.1 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.2345, allocations: 288.2 kB / 435.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.2346, allocations: 16 kB / 435.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.2352, allocations: 47.95 kB / 435.5 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.2353, allocations: 55.88 kB / 435.5 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.2354, allocations: 20 kB / 435.5 MB, free: 1.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001526/0.2369, allocations: 1.036 MB / 436.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2369, allocations: 0 / 436.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0016/0.2385, allocations: 347.9 kB / 436.9 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.0006046/0.2391, allocations: 191.2 kB / 437.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.2413, allocations: 1.153 MB / 438.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2413, allocations: 0 / 438.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007863/0.2421, allocations: 0.5148 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.001453/0.2435, allocations: 364.4 kB / 439.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.249, allocations: 3.211 MB / 442.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.2503, allocations: 1.702 MB / 444 MB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008251/0.2511, allocations: 323.3 kB / 444.4 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.2514, allocations: 91.44 kB / 444.4 MB, free: 7.965 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2514, allocations: 3.938 kB / 444.5 MB, free: 7.961 MB / 382.1 MB Notification: Performance of Templates: time 0.2646/0.5159, allocations: 18.97 MB / 463.4 MB, free: 65.43 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)