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.001144/0.001144, allocations: 99 kB / 15.05 MB, free: 1.105 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.0009804/0.0009804, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.000524/0.0005241, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2577, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01229/0.2701, allocations: 11.64 MB / 338.1 MB, free: 7.863 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.2803, allocations: 3.741 MB / 341.8 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.2834, allocations: 83.81 kB / 341.9 MB, free: 4.027 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.2853, allocations: 0.6136 MB / 342.5 MB, free: 3.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.2905, allocations: 1.488 MB / 344 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.2928, allocations: 0.8577 MB / 344.9 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.3041, allocations: 7.441 MB / 352.3 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02197/0.3261, allocations: 12.05 MB / 364.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.3301, allocations: 2.266 MB / 366.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005254/0.3353, allocations: 2.817 MB / 369.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001621/0.337, allocations: 392 kB / 369.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.3402, allocations: 0.5272 MB / 370.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003213/0.3434, allocations: 1.203 MB / 371.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004355/0.3478, allocations: 1.256 MB / 372.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.3616, allocations: 10.3 MB / 383.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3617, allocations: 4 kB / 383.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3617, allocations: 0 / 383.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004715/0.3622, allocations: 0 / 383.1 MB, free: 10.66 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.02081/0.383, allocations: 6.964 MB / 390.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3831, allocations: 8.031 kB / 390.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03164/0.4147, allocations: 5.1 MB / 395.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.4266, allocations: 3.508 MB / 398.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006635/0.4273, allocations: 0.5058 MB / 399.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003296/0.4306, allocations: 0.6562 MB / 399.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02966/0.4603, allocations: 10.38 MB / 410.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003617/0.4607, allocations: 3.906 kB / 410.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002258/0.463, allocations: 288 kB / 410.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004784/0.4635, allocations: 390.6 kB / 410.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/0.4856, allocations: 9.575 MB / 420.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06164/0.5473, allocations: 31.95 MB / 452.4 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2182/0.7655, allocations: 22.87 MB / 475.3 MB, free: 80.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009752/0.7753, allocations: 6.272 MB / 481.6 MB, free: 76.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.7754, allocations: 58.89 kB / 481.6 MB, free: 76.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 3.477e-06/0.7754, allocations: 0 / 481.6 MB, free: 76.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=152): time 0.005768/0.7812, allocations: 3.222 MB / 484.9 MB, free: 75.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.7812, allocations: 94.17 kB / 485 MB, free: 75.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.7843, allocations: 2.593 MB / 487.5 MB, free: 74.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-05/0.7844, allocations: 53.2 kB / 487.6 MB, free: 74.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.7859, allocations: 3.11 MB / 490.7 MB, free: 72.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.7862, allocations: 0.5615 MB / 491.3 MB, free: 71.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.7864, allocations: 82.88 kB / 491.4 MB, free: 71.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.7866, allocations: 468.2 kB / 491.8 MB, free: 71.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.7883, allocations: 1.456 MB / 493.3 MB, free: 70.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.7907, allocations: 3.225 MB / 496.5 MB, free: 68.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.793, allocations: 2.189 MB / 498.7 MB, free: 67.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.793, allocations: 18.88 kB / 498.7 MB, free: 67.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006266/0.7993, allocations: 5.062 MB / 0.492 GB, free: 64.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.7994, allocations: 32 kB / 0.492 GB, free: 64.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.524e-05/0.7994, allocations: 60.91 kB / 0.492 GB, free: 64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000711/0.8002, allocations: 350.8 kB / 0.4924 GB, free: 63.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/0.8027, allocations: 0.8801 MB / 0.4932 GB, free: 62.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/0.8067, allocations: 4.72 MB / 0.4978 GB, free: 57.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.8094, allocations: 0.5382 MB / 0.4984 GB, free: 57.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/0.8096, allocations: 208 kB / 0.4986 GB, free: 57.14 MB / 382.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.003255/0.8129, allocations: 2.338 MB / 0.5009 GB, free: 54.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.8132, allocations: 225.1 kB / 0.5011 GB, free: 54.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/0.8165, allocations: 2.343 MB / 0.5034 GB, free: 52.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.8166, allocations: 16 kB / 0.5034 GB, free: 52.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.8166, allocations: 8 kB / 0.5034 GB, free: 52.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.8166, allocations: 7.969 kB / 0.5034 GB, free: 52.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007301/0.8239, allocations: 5.325 MB / 0.5086 GB, free: 46.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.8239, allocations: 4.031 kB / 0.5086 GB, free: 46.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.825, allocations: 259.6 kB / 0.5088 GB, free: 46.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005456/0.8255, allocations: 253.5 kB / 0.5091 GB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/0.8256, allocations: 35.98 kB / 0.5091 GB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.8293, allocations: 4.619 MB / 0.5136 GB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.8293, allocations: 5.922 kB / 0.5136 GB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.8329, allocations: 3.332 MB / 0.5169 GB, free: 38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008943/0.8338, allocations: 0.4938 MB / 0.5174 GB, free: 37.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.834, allocations: 27.95 kB / 0.5174 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.8351, allocations: 99.97 kB / 0.5175 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.8353, allocations: 105.3 kB / 0.5176 GB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.8353, allocations: 43.98 kB / 0.5176 GB, free: 37.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00199/0.8373, allocations: 1.69 MB / 0.5193 GB, free: 35.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.8e-07/0.8374, allocations: 0 / 0.5193 GB, free: 35.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004418/0.8418, allocations: 1.523 MB / 0.5208 GB, free: 33.98 MB / 382.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.000399/0.8422, allocations: 174 kB / 0.5209 GB, free: 33.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004469/0.8467, allocations: 3.501 MB / 0.5244 GB, free: 30.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.8467, allocations: 0 / 0.5244 GB, free: 30.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.848, allocations: 1.269 MB / 0.5256 GB, free: 29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.8498, allocations: 445.4 kB / 0.526 GB, free: 28.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.8649, allocations: 11.93 MB / 0.5377 GB, free: 16.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0031/0.8681, allocations: 4.288 MB / 0.5419 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003395/0.8715, allocations: 1.279 MB / 0.5431 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.8719, allocations: 183.4 kB / 0.5433 GB, free: 10.82 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.872, allocations: 4 kB / 0.5433 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Templates: time 0.04849/0.9204, allocations: 28.83 MB / 0.5714 GB, free: 14 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: