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.009532/0.009532, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001513/0.001514, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.886/1.886, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.00121/0.00121, allocations: 51.02 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1258, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007678/0.1335, allocations: 5.852 MB / 379 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.1384, allocations: 2.135 MB / 381.2 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005854/0.1391, allocations: 31.88 kB / 381.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.1402, allocations: 393.4 kB / 381.6 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.1417, allocations: 0.5515 MB / 382.1 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.1422, allocations: 239.6 kB / 382.4 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.1444, allocations: 2.288 MB / 384.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.1464, allocations: 1.879 MB / 386.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.1488, allocations: 1.059 MB / 387.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.1504, allocations: 1.199 MB / 388.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003502/0.1507, allocations: 288 kB / 389.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007042/0.1515, allocations: 371.8 kB / 389.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006278/0.1521, allocations: 0.7052 MB / 390.1 MB, free: 260 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.1535, allocations: 1.225 MB / 391.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003658/0.1572, allocations: 3.774 MB / 395.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1572, allocations: 4 kB / 395.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1572, allocations: 0 / 395.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.868e-05/0.1573, allocations: 0 / 395.1 MB, free: 11.23 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.004724/0.162, allocations: 2.369 MB / 397.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.1621, allocations: 8.031 kB / 397.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008008/0.1629, allocations: 254.3 kB / 397.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.1649, allocations: 1.243 MB / 399 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.165, allocations: 135.5 kB / 399.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.1653, allocations: 176 kB / 399.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.1695, allocations: 2.543 MB / 401.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.1696, allocations: 0 / 401.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.1698, allocations: 72 kB / 401.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.1699, allocations: 99.58 kB / 402 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003755/0.1737, allocations: 2.103 MB / 404.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.1853, allocations: 7.363 MB / 411.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.1869, allocations: 1.271 MB / 412.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.1877, allocations: 474.9 kB / 413.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.1879, allocations: 113.5 kB / 413.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.188, allocations: 43 kB / 413.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 3.036e-06/0.188, allocations: 0 / 413.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.004375/0.1924, allocations: 2.261 MB / 415.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.1925, allocations: 81.55 kB / 415.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.1946, allocations: 1.52 MB / 417.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.1947, allocations: 41.64 kB / 417.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007516/0.1955, allocations: 0.9749 MB / 418.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.1956, allocations: 197.4 kB / 418.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.196, allocations: 234.6 kB / 418.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1961, allocations: 361.9 kB / 419 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.1968, allocations: 454.3 kB / 419.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.198, allocations: 1.091 MB / 420.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.1999, allocations: 1.619 MB / 422.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.2, allocations: 8 kB / 422.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00289/0.2029, allocations: 1.691 MB / 423.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.2029, allocations: 19.91 kB / 423.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/0.2029, allocations: 24 kB / 423.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006998/0.2036, allocations: 153 kB / 424.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.2045, allocations: 287.5 kB / 424.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.207, allocations: 2.361 MB / 426.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.2083, allocations: 91.73 kB / 426.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.2085, allocations: 68 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.00147/0.2099, allocations: 0.7078 MB / 427.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.2103, allocations: 134.4 kB / 427.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.2118, allocations: 0.8335 MB / 428.5 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2118, allocations: 8.125 kB / 428.5 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2118, allocations: 3.984 kB / 428.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.2118, allocations: 7.938 kB / 428.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/0.2159, allocations: 2.486 MB / 431 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2159, allocations: 4 kB / 431 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.2163, allocations: 99.88 kB / 431.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.2168, allocations: 136.9 kB / 431.3 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.2169, allocations: 12 kB / 431.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.2192, allocations: 2.302 MB / 433.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.2192, allocations: 8.062 kB / 433.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.2214, allocations: 1.329 MB / 434.9 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/0.222, allocations: 275.5 kB / 435.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.2222, allocations: 16 kB / 435.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.2228, allocations: 47.95 kB / 435.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.2229, allocations: 51.88 kB / 435.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.223, allocations: 20 kB / 435.3 MB, free: 1.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.2245, allocations: 1.036 MB / 436.4 MB, free: 196 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2245, allocations: 0 / 436.4 MB, free: 196 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001626/0.2262, allocations: 352 kB / 436.7 MB, free: 15.84 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.0005635/0.2267, allocations: 183.1 kB / 436.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.2288, allocations: 1.156 MB / 438 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.2288, allocations: 0.875 kB / 438 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007916/0.2296, allocations: 0.514 MB / 438.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.2312, allocations: 376.8 kB / 438.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/0.2368, allocations: 3.156 MB / 442.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.2382, allocations: 1.702 MB / 443.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001111/0.2394, allocations: 327.2 kB / 444.1 MB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.2396, allocations: 83.44 kB / 444.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.2396, allocations: 0 / 444.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of Templates: time 0.2886/0.5282, allocations: 18.97 MB / 463.2 MB, free: 66.02 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)