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.0008951/0.0008949, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007703/0.007703, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.422/1.422, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.0004967/0.0004966, allocations: 12 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2296, allocations: 47.58 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01259/0.2423, allocations: 13.59 MB / 340.6 MB, free: 5.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007592/0.2499, allocations: 3.879 MB / 344.5 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.2516, allocations: 79.81 kB / 344.6 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.2533, allocations: 0.8165 MB / 345.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004926/0.2583, allocations: 1.579 MB / 347 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.2611, allocations: 1.002 MB / 348 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008524/0.2696, allocations: 6.667 MB / 354.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02431/0.294, allocations: 14.23 MB / 368.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004416/0.2984, allocations: 2.502 MB / 371.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005616/0.3041, allocations: 3.19 MB / 374.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.3057, allocations: 392 kB / 374.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.3088, allocations: 0.5584 MB / 375.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002544/0.3114, allocations: 1.265 MB / 376.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004887/0.3163, allocations: 3.064 MB / 379.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.3282, allocations: 11.64 MB / 391.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3282, allocations: 0 / 391.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3282, allocations: 3.938 kB / 391.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.00033/0.3286, allocations: 0 / 391.5 MB, free: 2.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.01775/0.3463, allocations: 6.913 MB / 398.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3464, allocations: 8.031 kB / 398.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03137/0.3778, allocations: 5.1 MB / 403.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007375/0.3852, allocations: 3.547 MB / 407.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004609/0.3857, allocations: 0.5058 MB / 407.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002163/0.3878, allocations: 0.6717 MB / 408.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/0.407, allocations: 10.48 MB / 418.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/0.4072, allocations: 7.906 kB / 418.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007229/0.408, allocations: 287.9 kB / 419 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003625/0.4083, allocations: 386.6 kB / 419.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/0.4256, allocations: 9.645 MB / 429 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2305/0.6562, allocations: 31.96 MB / 461 MB, free: 92.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/0.6708, allocations: 22.89 MB / 483.9 MB, free: 71.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002519/0.6734, allocations: 1.931 MB / 485.8 MB, free: 71.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007567/0.6809, allocations: 6.242 MB / 492 MB, free: 68.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.681, allocations: 54.09 kB / 492.1 MB, free: 68.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 4.589e-06/0.681, allocations: 0 / 492.1 MB, free: 68.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.005297/0.6863, allocations: 3.2 MB / 495.3 MB, free: 67.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.6863, allocations: 97.05 kB / 495.4 MB, free: 67.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/0.6894, allocations: 2.616 MB / 498 MB, free: 66.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.6895, allocations: 52.64 kB / 498.1 MB, free: 66.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.6909, allocations: 3.113 MB / 0.4894 GB, free: 64.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.6912, allocations: 0.547 MB / 0.49 GB, free: 63.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.6916, allocations: 314.8 kB / 0.4903 GB, free: 63.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.6916, allocations: 309.1 kB / 0.4906 GB, free: 63.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.6933, allocations: 1.463 MB / 0.492 GB, free: 62.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.6955, allocations: 3.256 MB / 0.4952 GB, free: 59.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/0.6994, allocations: 4.822 MB / 0.4999 GB, free: 55.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-05/0.6995, allocations: 17.53 kB / 0.4999 GB, free: 55.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006115/0.7056, allocations: 5.089 MB / 0.5049 GB, free: 50.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.7057, allocations: 32 kB / 0.5049 GB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/0.7057, allocations: 60 kB / 0.5049 GB, free: 50.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006607/0.7064, allocations: 340.2 kB / 0.5053 GB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/0.709, allocations: 0.8852 MB / 0.5061 GB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.7127, allocations: 4.64 MB / 0.5107 GB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.7155, allocations: 0.5301 MB / 0.5112 GB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.7157, allocations: 216 kB / 0.5114 GB, free: 43.62 MB / 382.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.003102/0.7188, allocations: 2.327 MB / 0.5137 GB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.7192, allocations: 225.2 kB / 0.5139 GB, free: 41.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/0.7224, allocations: 2.328 MB / 0.5162 GB, free: 38.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.7225, allocations: 19.94 kB / 0.5162 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.7225, allocations: 10.53 kB / 0.5162 GB, free: 38.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.7225, allocations: 7.969 kB / 0.5162 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/0.7301, allocations: 5.334 MB / 0.5214 GB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.7301, allocations: 0 / 0.5214 GB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.7313, allocations: 259.6 kB / 0.5216 GB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000579/0.7319, allocations: 249.8 kB / 0.5219 GB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.582e-05/0.732, allocations: 47.92 kB / 0.5219 GB, free: 32.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/0.7356, allocations: 4.524 MB / 0.5263 GB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7357, allocations: 0 / 0.5263 GB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.7395, allocations: 3.302 MB / 0.5296 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/0.7405, allocations: 498 kB / 0.53 GB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.7407, allocations: 32 kB / 0.5301 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.7418, allocations: 104 kB / 0.5302 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.742, allocations: 101.2 kB / 0.5303 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/0.7421, allocations: 47.98 kB / 0.5303 GB, free: 23.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001976/0.7441, allocations: 1.719 MB / 0.532 GB, free: 22.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.001e-06/0.7441, allocations: 4 kB / 0.532 GB, free: 22.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003648/0.7478, allocations: 1.531 MB / 0.5335 GB, free: 20.57 MB / 382.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.0002918/0.7481, allocations: 165.2 kB / 0.5337 GB, free: 20.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004418/0.7525, allocations: 3.512 MB / 0.5371 GB, free: 16.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.7525, allocations: 0 / 0.5371 GB, free: 16.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.7539, allocations: 1.269 MB / 0.5383 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.7566, allocations: 463.2 kB / 0.5388 GB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.7716, allocations: 12.79 MB / 0.5513 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003533/0.7752, allocations: 4.182 MB / 0.5553 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003627/0.7788, allocations: 1.295 MB / 0.5566 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.7793, allocations: 179.4 kB / 0.5568 GB, free: 12.62 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7793, allocations: 3.938 kB / 0.5568 GB, free: 12.62 MB / 398.1 MB Notification: Performance of Templates: time 0.05677/0.8361, allocations: 29.42 MB / 0.5855 GB, free: 15.2 MB / 430.1 MB 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)