Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001478/0.001478, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.001603/0.001603, allocations: 195 kB / 18 MB, free: 5.105 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.39/1.39, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001111/0.001111, allocations: 51.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09412, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.1859/0.2801, allocations: 14.6 MB / 389.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009114/0.2892, allocations: 3.941 MB / 393 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.2925, allocations: 84.5 kB / 393.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.3041, allocations: 5.609 MB / 398.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006491/0.3106, allocations: 1.742 MB / 400.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.3137, allocations: 1.092 MB / 401.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008108/0.3218, allocations: 6.742 MB / 408.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01619/0.338, allocations: 13.75 MB / 422.1 MB, free: 28 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005693/0.3437, allocations: 3.502 MB / 425.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006335/0.3501, allocations: 4.115 MB / 429.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001966/0.3521, allocations: 0.918 MB / 430.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.3548, allocations: 1.094 MB / 431.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.3564, allocations: 1.929 MB / 433.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004127/0.3605, allocations: 3.789 MB / 437.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.3712, allocations: 12.39 MB / 449.8 MB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3713, allocations: 3.984 kB / 449.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.3713, allocations: 0 / 449.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002248/0.3715, allocations: 7.875 kB / 449.8 MB, free: 4.203 MB / 366.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.01855/0.39, allocations: 8.291 MB / 458.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3901, allocations: 11.89 kB / 458.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02915/0.4193, allocations: 5.072 MB / 463.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009592/0.4289, allocations: 3.547 MB / 466.7 MB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003842/0.4293, allocations: 0.5058 MB / 467.2 MB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.4313, allocations: 0.6717 MB / 467.9 MB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02091/0.4522, allocations: 10.48 MB / 478.4 MB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.4524, allocations: 11.91 kB / 478.4 MB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000974/0.4534, allocations: 279.9 kB / 478.7 MB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003636/0.4538, allocations: 386.6 kB / 479 MB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.4706, allocations: 9.633 MB / 488.7 MB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04439/0.515, allocations: 31.51 MB / 0.508 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/0.5326, allocations: 22.92 MB / 0.5304 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/0.5353, allocations: 1.937 MB / 0.5323 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009392/0.5447, allocations: 6.234 MB / 0.5384 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.5447, allocations: 52 kB / 0.5384 GB, free: 9.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 2.685e-06/0.5448, allocations: 3.938 kB / 0.5384 GB, free: 9.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.005824/0.5506, allocations: 3.173 MB / 0.5415 GB, free: 6.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.5506, allocations: 90.55 kB / 0.5416 GB, free: 6.141 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/0.5539, allocations: 2.615 MB / 0.5441 GB, free: 3.492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/0.554, allocations: 49.7 kB / 0.5442 GB, free: 3.438 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/0.5558, allocations: 3.117 MB / 0.5472 GB, free: 284 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2061/0.7619, allocations: 0.5398 MB / 0.5478 GB, free: 130.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/0.7636, allocations: 0.7973 MB / 0.5485 GB, free: 130 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.7636, allocations: 308 kB / 0.5488 GB, free: 129.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/0.766, allocations: 1.463 MB / 0.5503 GB, free: 129.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/0.7691, allocations: 3.261 MB / 0.5535 GB, free: 127.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005259/0.7744, allocations: 4.823 MB / 0.5582 GB, free: 125.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-05/0.7745, allocations: 16.34 kB / 0.5582 GB, free: 125.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008303/0.7828, allocations: 5.091 MB / 0.5631 GB, free: 124.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/0.7829, allocations: 31.06 kB / 0.5632 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.712e-05/0.7829, allocations: 66.25 kB / 0.5632 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008783/0.7838, allocations: 334.8 kB / 0.5636 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/0.7866, allocations: 0.8871 MB / 0.5644 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/0.7913, allocations: 5.048 MB / 0.5694 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.7942, allocations: 0.5463 MB / 0.5699 GB, free: 119.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003166/0.7945, allocations: 208.4 kB / 0.5701 GB, free: 119.7 MB / 478.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.004465/0.799, allocations: 2.336 MB / 0.5724 GB, free: 118.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/0.7995, allocations: 224.8 kB / 0.5726 GB, free: 118.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/0.803, allocations: 2.315 MB / 0.5748 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.8031, allocations: 16.92 kB / 0.5749 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.8031, allocations: 3.969 kB / 0.5749 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.8031, allocations: 11.11 kB / 0.5749 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007313/0.8104, allocations: 5.343 MB / 0.5801 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.8104, allocations: 0 / 0.5801 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.8115, allocations: 258.9 kB / 0.5803 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005809/0.8121, allocations: 258.6 kB / 0.5806 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/0.8122, allocations: 40.47 kB / 0.5806 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/0.8164, allocations: 4.938 MB / 0.5854 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8164, allocations: 3.75 kB / 0.5855 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/0.8204, allocations: 3.31 MB / 0.5887 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009193/0.8213, allocations: 464.4 kB / 0.5891 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.8215, allocations: 27.81 kB / 0.5892 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.8226, allocations: 99.78 kB / 0.5892 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.8228, allocations: 105.8 kB / 0.5894 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/0.8228, allocations: 43.22 kB / 0.5894 GB, free: 109.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00211/0.825, allocations: 1.718 MB / 0.5911 GB, free: 109 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.825, allocations: 0 / 0.5911 GB, free: 109 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004321/0.8293, allocations: 1.522 MB / 0.5926 GB, free: 108 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.0003567/0.8297, allocations: 166 kB / 0.5927 GB, free: 107.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004672/0.8343, allocations: 3.519 MB / 0.5962 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8344, allocations: 2 kB / 0.5962 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.8357, allocations: 1.266 MB / 0.5974 GB, free: 103.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.8381, allocations: 490.1 kB / 0.5979 GB, free: 103.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.8535, allocations: 9.866 MB / 0.6075 GB, free: 94.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.8565, allocations: 4.183 MB / 0.6116 GB, free: 90 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002833/0.8594, allocations: 1.283 MB / 0.6128 GB, free: 88.71 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.8598, allocations: 183.4 kB / 0.613 GB, free: 88.53 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.8599, allocations: 4 kB / 0.613 GB, free: 88.53 MB / 478.1 MB Notification: Performance of Templates: time 0.04868/0.9085, allocations: 31.67 MB / 0.6439 GB, free: 56.96 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)