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.001176/0.001176, allocations: 110 kB / 17.06 MB, free: 6.023 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.001237/0.001238, allocations: 191 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.442/1.442, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.001191/0.001191, allocations: 44.41 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.09102, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.1892/0.2803, allocations: 14.61 MB / 389.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008458/0.2888, allocations: 3.94 MB / 393 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.2925, allocations: 87.81 kB / 393.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01298/0.3055, allocations: 5.598 MB / 398.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006995/0.3125, allocations: 1.756 MB / 400.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.316, allocations: 1.079 MB / 401.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009442/0.3254, allocations: 6.75 MB / 408.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02315/0.3486, allocations: 13.75 MB / 422.1 MB, free: 32 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006392/0.3551, allocations: 3.495 MB / 425.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007643/0.3627, allocations: 4.119 MB / 429.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002502/0.3653, allocations: 0.9141 MB / 430.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.3687, allocations: 1.101 MB / 431.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.3714, allocations: 1.921 MB / 433.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006673/0.3781, allocations: 3.805 MB / 437.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.3921, allocations: 12.38 MB / 449.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3921, allocations: 0 / 449.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3922, allocations: 0 / 449.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003161/0.3925, allocations: 0 / 449.8 MB, free: 4.219 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.02384/0.4163, allocations: 8.302 MB / 458.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4164, allocations: 11.89 kB / 458.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03223/0.4486, allocations: 5.072 MB / 463.2 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008543/0.4572, allocations: 3.539 MB / 466.7 MB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004745/0.4577, allocations: 0.5097 MB / 467.2 MB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003268/0.461, allocations: 0.6678 MB / 467.9 MB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02686/0.4879, allocations: 10.47 MB / 478.4 MB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/0.4881, allocations: 11.84 kB / 478.4 MB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/0.4893, allocations: 287.9 kB / 478.7 MB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004253/0.4897, allocations: 390.5 kB / 479 MB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.5086, allocations: 9.633 MB / 488.7 MB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05388/0.5625, allocations: 31.5 MB / 0.508 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/0.582, allocations: 22.93 MB / 0.5304 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/0.5853, allocations: 1.941 MB / 0.5323 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.5963, allocations: 6.23 MB / 0.5384 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.5964, allocations: 51.94 kB / 0.5384 GB, free: 9.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 3.967e-06/0.5964, allocations: 0 / 0.5384 GB, free: 9.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.0065/0.6029, allocations: 3.169 MB / 0.5415 GB, free: 6.266 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.603, allocations: 94.55 kB / 0.5416 GB, free: 6.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/0.6071, allocations: 2.612 MB / 0.5441 GB, free: 3.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.6073, allocations: 49.7 kB / 0.5442 GB, free: 3.453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/0.6094, allocations: 3.121 MB / 0.5472 GB, free: 296 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2017/0.8111, allocations: 0.5427 MB / 0.5478 GB, free: 130 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/0.8128, allocations: 0.7954 MB / 0.5485 GB, free: 130 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.8129, allocations: 308.4 kB / 0.5488 GB, free: 129.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.8152, allocations: 1.463 MB / 0.5503 GB, free: 129.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.8183, allocations: 3.261 MB / 0.5534 GB, free: 127.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005438/0.8238, allocations: 4.821 MB / 0.5582 GB, free: 125.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.474e-05/0.8239, allocations: 17.59 kB / 0.5582 GB, free: 125.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007814/0.8317, allocations: 5.093 MB / 0.5631 GB, free: 124 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.8318, allocations: 31.31 kB / 0.5632 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.8319, allocations: 61.28 kB / 0.5632 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/0.8327, allocations: 341.9 kB / 0.5636 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/0.8356, allocations: 0.8796 MB / 0.5644 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004509/0.8402, allocations: 5.06 MB / 0.5694 GB, free: 120 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.8432, allocations: 0.5344 MB / 0.5699 GB, free: 119.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/0.8436, allocations: 212.2 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.003116/0.8467, allocations: 2.335 MB / 0.5724 GB, free: 118.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.8471, allocations: 228 kB / 0.5726 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/0.8507, allocations: 2.318 MB / 0.5748 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.8507, allocations: 15.88 kB / 0.5749 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8507, allocations: 3.938 kB / 0.5749 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.8507, allocations: 16.67 kB / 0.5749 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00686/0.8576, allocations: 5.339 MB / 0.5801 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.088e-06/0.8576, allocations: 0 / 0.5801 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.8587, allocations: 258.6 kB / 0.5803 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/0.8593, allocations: 263.4 kB / 0.5806 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.8594, allocations: 27.62 kB / 0.5806 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/0.863, allocations: 4.934 MB / 0.5854 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.863, allocations: 7.469 kB / 0.5854 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003657/0.8667, allocations: 3.312 MB / 0.5887 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007963/0.8675, allocations: 469.4 kB / 0.5891 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.8678, allocations: 27.84 kB / 0.5892 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.8688, allocations: 96.62 kB / 0.5892 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.869, allocations: 105.1 kB / 0.5893 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-05/0.8691, allocations: 46.5 kB / 0.5894 GB, free: 109.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001916/0.871, allocations: 1.714 MB / 0.5911 GB, free: 109 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.871, allocations: 0 / 0.5911 GB, free: 109 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003782/0.8748, allocations: 1.525 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.0003152/0.8751, allocations: 162.7 kB / 0.5927 GB, free: 107.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004616/0.8797, allocations: 3.521 MB / 0.5961 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8797, allocations: 3.516 kB / 0.5962 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.8811, allocations: 1.267 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.002186/0.8833, allocations: 494.3 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.01381/0.8971, allocations: 9.854 MB / 0.6075 GB, free: 94.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.9, allocations: 4.183 MB / 0.6116 GB, free: 90.01 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002826/0.9028, allocations: 1.287 MB / 0.6128 GB, free: 88.71 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.9032, allocations: 183.4 kB / 0.613 GB, free: 88.54 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.9033, allocations: 0 / 0.613 GB, free: 88.54 MB / 478.1 MB Notification: Performance of Templates: time 0.04454/0.9478, allocations: 31.77 MB / 0.644 GB, free: 56.82 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)