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.001168/0.001168, allocations: 89.5 kB / 16.3 MB, free: 6.457 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.001341/0.001341, allocations: 179.7 kB / 17.2 MB, free: 6.34 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.548/1.548, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004635/0.0004636, allocations: 12 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.09171, allocations: 47.59 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01205/0.1038, allocations: 11.64 MB / 339.3 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008131/0.112, allocations: 3.741 MB / 343.1 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.1147, allocations: 79.81 kB / 343.2 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.1172, allocations: 0.6058 MB / 343.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005324/0.1225, allocations: 1.492 MB / 345.3 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.1253, allocations: 0.8693 MB / 346.1 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01223/0.1376, allocations: 7.441 MB / 353.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02295/0.1606, allocations: 12.05 MB / 365.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.1643, allocations: 2.27 MB / 367.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0048/0.1691, allocations: 2.805 MB / 370.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.1705, allocations: 396 kB / 371.1 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.1728, allocations: 0.531 MB / 371.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002228/0.1751, allocations: 1.203 MB / 372.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003292/0.1784, allocations: 1.256 MB / 374.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2196/0.398, allocations: 10.3 MB / 384.4 MB, free: 25.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3981, allocations: 0 / 384.4 MB, free: 25.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.3981, allocations: 3.062 kB / 384.4 MB, free: 25.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005102/0.3986, allocations: 0 / 384.4 MB, free: 25.63 MB / 318.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.02403/0.4226, allocations: 6.965 MB / 391.3 MB, free: 22.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4227, allocations: 9.062 kB / 391.3 MB, free: 22.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03194/0.4547, allocations: 5.1 MB / 396.4 MB, free: 20.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.4659, allocations: 3.51 MB / 399.9 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004384/0.4664, allocations: 0.506 MB / 400.5 MB, free: 19.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003437/0.4698, allocations: 0.6702 MB / 401.1 MB, free: 19.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/0.498, allocations: 10.37 MB / 411.5 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/0.4982, allocations: 7.906 kB / 411.5 MB, free: 16.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/0.4999, allocations: 279.4 kB / 411.8 MB, free: 16.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003758/0.5003, allocations: 389.7 kB / 412.2 MB, free: 16.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.5177, allocations: 9.59 MB / 421.7 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05666/0.5744, allocations: 31.95 MB / 453.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02044/0.5949, allocations: 22.87 MB / 476.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/0.607, allocations: 6.275 MB / 482.8 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.6071, allocations: 52 kB / 482.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 3.406e-06/0.6071, allocations: 0 / 482.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=152): time 0.006404/0.6135, allocations: 3.219 MB / 486.1 MB, free: 3.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.6136, allocations: 98.55 kB / 486.2 MB, free: 3.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.6176, allocations: 2.588 MB / 488.8 MB, free: 1.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.6178, allocations: 59.7 kB / 488.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00235/0.6201, allocations: 3.108 MB / 492 MB, free: 13.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005235/0.6207, allocations: 0.5559 MB / 492.5 MB, free: 13.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.6209, allocations: 80 kB / 492.6 MB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002869/0.6212, allocations: 470.2 kB / 493.1 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.6233, allocations: 1.456 MB / 494.5 MB, free: 11.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/0.6267, allocations: 3.221 MB / 497.7 MB, free: 7.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.6296, allocations: 2.196 MB / 499.9 MB, free: 5.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/0.6296, allocations: 16 kB / 499.9 MB, free: 5.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007958/0.6376, allocations: 5.073 MB / 0.4932 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.6377, allocations: 32 kB / 0.4932 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.926e-05/0.6378, allocations: 60 kB / 0.4933 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000857/0.6386, allocations: 344.4 kB / 0.4936 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.6415, allocations: 0.8778 MB / 0.4944 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005176/0.6467, allocations: 4.724 MB / 0.4991 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/0.6501, allocations: 0.5418 MB / 0.4996 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/0.6504, allocations: 215.6 kB / 0.4998 GB, free: 9.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 276 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004191/0.6546, allocations: 2.33 MB / 0.5021 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/0.655, allocations: 221.2 kB / 0.5023 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.659, allocations: 2.342 MB / 0.5046 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.659, allocations: 18.44 kB / 0.5046 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.659, allocations: 4.375 kB / 0.5046 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.659, allocations: 11.97 kB / 0.5046 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008852/0.6679, allocations: 5.323 MB / 0.5098 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.6679, allocations: 4 kB / 0.5098 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.6691, allocations: 254.5 kB / 0.51 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006719/0.6698, allocations: 263.7 kB / 0.5103 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.716e-05/0.6699, allocations: 39.98 kB / 0.5103 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004913/0.6749, allocations: 4.62 MB / 0.5149 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6749, allocations: 0 / 0.5149 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004835/0.6797, allocations: 3.339 MB / 0.5181 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.681, allocations: 497.7 kB / 0.5186 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.6813, allocations: 28 kB / 0.5186 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.6824, allocations: 95.86 kB / 0.5187 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.6826, allocations: 109 kB / 0.5188 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.004e-05/0.6827, allocations: 48.06 kB / 0.5189 GB, free: 5.727 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002485/0.6852, allocations: 1.69 MB / 0.5205 GB, free: 4.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6852, allocations: 0 / 0.5205 GB, free: 4.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00437/0.6896, allocations: 1.523 MB / 0.522 GB, free: 2.488 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003683/0.69, allocations: 169.6 kB / 0.5222 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005477/0.6955, allocations: 3.5 MB / 0.5256 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6955, allocations: 2 kB / 0.5256 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.6973, allocations: 1.274 MB / 0.5268 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.6996, allocations: 438.6 kB / 0.5272 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/0.7202, allocations: 11.93 MB / 0.5389 GB, free: 1.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1839/0.9041, allocations: 4.275 MB / 0.5431 GB, free: 160.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004314/0.9085, allocations: 1.283 MB / 0.5443 GB, free: 160.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.9091, allocations: 185.8 kB / 0.5445 GB, free: 160.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.525e-06/0.9091, allocations: 2.625 kB / 0.5445 GB, free: 160.8 MB / 446.1 MB Notification: Performance of Templates: time 0.05041/0.9595, allocations: 28.82 MB / 0.5726 GB, free: 147.7 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: