Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005789/0.005789, allocations: 100.3 kB / 15.73 MB, free: 6.004 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.001478/0.001478, allocations: 194.5 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.404/1.404, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001123/0.001123, allocations: 54.42 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1029, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.02858/0.1316, allocations: 14.6 MB / 387.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.1457, allocations: 3.957 MB / 391.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.149, allocations: 87.75 kB / 391.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02134/0.1703, allocations: 5.605 MB / 397.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.1818, allocations: 1.749 MB / 399.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006882/0.1887, allocations: 1.091 MB / 400.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01543/0.2042, allocations: 6.744 MB / 407 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01949/0.2237, allocations: 13.74 MB / 420.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005181/0.229, allocations: 3.502 MB / 424.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006038/0.235, allocations: 4.115 MB / 428.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002537/0.2376, allocations: 0.9219 MB / 429.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.2414, allocations: 1.09 MB / 430.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0036/0.2451, allocations: 1.932 MB / 432.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008878/0.254, allocations: 3.797 MB / 436.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01834/0.2724, allocations: 12.39 MB / 448.5 MB, free: 5.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.2724, allocations: 4 kB / 448.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2724, allocations: 0 / 448.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004641/0.2729, allocations: 0 / 448.5 MB, free: 5.625 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.2182/0.4911, allocations: 8.291 MB / 456.8 MB, free: 63.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4912, allocations: 14.34 kB / 456.8 MB, free: 63.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03194/0.5231, allocations: 5.071 MB / 461.9 MB, free: 62.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009697/0.5328, allocations: 3.54 MB / 465.4 MB, free: 60.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000496/0.5334, allocations: 0.5073 MB / 465.9 MB, free: 60.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002323/0.5357, allocations: 0.6732 MB / 466.6 MB, free: 59.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/0.5531, allocations: 10.48 MB / 477.1 MB, free: 54.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.5533, allocations: 3.906 kB / 477.1 MB, free: 54.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006754/0.554, allocations: 290.2 kB / 477.4 MB, free: 53.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002602/0.5542, allocations: 387.8 kB / 477.7 MB, free: 53.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.5693, allocations: 9.632 MB / 487.4 MB, free: 44.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04008/0.6094, allocations: 31.51 MB / 0.5067 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01546/0.6249, allocations: 22.9 MB / 0.5291 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/0.6283, allocations: 1.937 MB / 0.531 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.6388, allocations: 6.24 MB / 0.5371 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.6389, allocations: 44 kB / 0.5371 GB, free: 8.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.797e-06/0.6389, allocations: 1.125 kB / 0.5371 GB, free: 8.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.00629/0.6452, allocations: 3.169 MB / 0.5402 GB, free: 5.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.6453, allocations: 98.48 kB / 0.5403 GB, free: 5.551 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.6489, allocations: 2.615 MB / 0.5429 GB, free: 2.902 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.649, allocations: 53.7 kB / 0.5429 GB, free: 2.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/0.6509, allocations: 3.117 MB / 0.546 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.6513, allocations: 0.5435 MB / 0.5465 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.6523, allocations: 0.7975 MB / 0.5473 GB, free: 14.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.6524, allocations: 309.1 kB / 0.5476 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.6545, allocations: 1.468 MB / 0.549 GB, free: 12.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003186/0.6577, allocations: 3.256 MB / 0.5522 GB, free: 8.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005435/0.6631, allocations: 4.828 MB / 0.5569 GB, free: 2.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/0.6632, allocations: 16.66 kB / 0.5569 GB, free: 2.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007773/0.6709, allocations: 5.09 MB / 0.5619 GB, free: 13.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.671, allocations: 32 kB / 0.5619 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-05/0.6711, allocations: 60 kB / 0.562 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008143/0.6719, allocations: 343 kB / 0.5623 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/0.6748, allocations: 0.8813 MB / 0.5632 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.68, allocations: 5.054 MB / 0.5681 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/0.6831, allocations: 0.5446 MB / 0.5686 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/0.6834, allocations: 216 kB / 0.5688 GB, free: 6.246 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003668/0.6871, allocations: 2.331 MB / 0.5711 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004359/0.6875, allocations: 225.1 kB / 0.5713 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/0.6914, allocations: 2.316 MB / 0.5736 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.6914, allocations: 19.94 kB / 0.5736 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.6914, allocations: 4 kB / 0.5736 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.6914, allocations: 11.97 kB / 0.5736 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008781/0.7002, allocations: 5.332 MB / 0.5788 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.7003, allocations: 0 / 0.5788 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.7016, allocations: 259.6 kB / 0.5791 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006783/0.7023, allocations: 257.5 kB / 0.5793 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.7024, allocations: 40.05 kB / 0.5794 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00508/0.7075, allocations: 4.948 MB / 0.5842 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7075, allocations: 0 / 0.5842 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/0.7127, allocations: 3.305 MB / 0.5874 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.7137, allocations: 465.8 kB / 0.5879 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.714, allocations: 32 kB / 0.5879 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.7152, allocations: 103.9 kB / 0.588 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.7155, allocations: 101.3 kB / 0.5881 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/0.7156, allocations: 43.98 kB / 0.5881 GB, free: 2.023 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002454/0.718, allocations: 1.714 MB / 0.5898 GB, free: 300 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.718, allocations: 0 / 0.5898 GB, free: 300 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.004421/0.7225, allocations: 1.519 MB / 0.5913 GB, free: 14.76 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.plug_p.reference.gamma) * 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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004133/0.7229, allocations: 177.5 kB / 0.5915 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005912/0.7288, allocations: 3.516 MB / 0.5949 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.7288, allocations: 0 / 0.5949 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.7307, allocations: 1.264 MB / 0.5961 GB, free: 9.777 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.7337, allocations: 497.8 kB / 0.5966 GB, free: 9.297 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.7517, allocations: 9.856 MB / 0.6062 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004312/0.7561, allocations: 4.179 MB / 0.6103 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003647/0.7597, allocations: 1.291 MB / 0.6116 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.7603, allocations: 179.4 kB / 0.6117 GB, free: 9.727 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7603, allocations: 3.938 kB / 0.6117 GB, free: 9.723 MB / 494.1 MB Notification: Performance of Templates: time 0.2808/1.041, allocations: 31.77 MB / 0.6428 GB, free: 166.8 MB / 0.4981 GB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)