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.001817/0.001817, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.363/1.363, allocations: 205.1 MB / 222.4 MB, free: 4.543 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.001936/0.001936, allocations: 47.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2494, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01447/0.264, allocations: 14.62 MB / 339.9 MB, free: 5.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009191/0.2732, allocations: 3.93 MB / 343.9 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.2764, allocations: 87.75 kB / 343.9 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01228/0.2887, allocations: 5.601 MB / 349.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007638/0.2963, allocations: 1.741 MB / 351.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.2998, allocations: 1.087 MB / 352.4 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00934/0.3091, allocations: 6.703 MB / 359.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02122/0.3304, allocations: 13.8 MB / 372.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/0.3357, allocations: 3.479 MB / 376.4 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005822/0.3416, allocations: 4.135 MB / 380.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002693/0.3443, allocations: 0.9141 MB / 381.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003839/0.3482, allocations: 1.105 MB / 382.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003047/0.3512, allocations: 1.921 MB / 384.4 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006848/0.3581, allocations: 3.804 MB / 388.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.3745, allocations: 12.29 MB / 400.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3745, allocations: 0 / 400.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3745, allocations: 0 / 400.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004273/0.375, allocations: 4 kB / 400.5 MB, free: 8.367 MB / 334.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.02466/0.3997, allocations: 8.299 MB / 408.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3997, allocations: 8.031 kB / 408.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03171/0.4314, allocations: 5.072 MB / 413.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008248/0.4397, allocations: 3.539 MB / 417.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004942/0.4402, allocations: 0.5097 MB / 418 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/0.4427, allocations: 0.6678 MB / 418.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/0.4659, allocations: 10.47 MB / 429.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.4661, allocations: 11.91 kB / 429.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008809/0.467, allocations: 283.9 kB / 429.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003756/0.4673, allocations: 386.6 kB / 429.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.4856, allocations: 9.629 MB / 439.4 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2289/0.7145, allocations: 31.86 MB / 471.3 MB, free: 92.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.728, allocations: 22.91 MB / 494.2 MB, free: 70 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/0.7307, allocations: 1.947 MB / 496.1 MB, free: 69.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008225/0.7389, allocations: 6.252 MB / 0.4906 GB, free: 64.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.739, allocations: 51.03 kB / 0.4906 GB, free: 64.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 3.477e-06/0.739, allocations: 0 / 0.4906 GB, free: 64.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.005716/0.7447, allocations: 3.17 MB / 0.4937 GB, free: 62.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.7448, allocations: 98.45 kB / 0.4938 GB, free: 62.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/0.7478, allocations: 2.618 MB / 0.4964 GB, free: 60.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.7479, allocations: 49.64 kB / 0.4964 GB, free: 60.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.7491, allocations: 3.115 MB / 0.4995 GB, free: 57.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.7494, allocations: 0.5505 MB / 0.5 GB, free: 57.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008776/0.7503, allocations: 0.8052 MB / 0.5008 GB, free: 56.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.719e-05/0.7503, allocations: 301.1 kB / 0.5011 GB, free: 55.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.752, allocations: 1.464 MB / 0.5025 GB, free: 54.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.7542, allocations: 3.264 MB / 0.5057 GB, free: 50.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.7582, allocations: 4.82 MB / 0.5104 GB, free: 44.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.721e-05/0.7582, allocations: 16 kB / 0.5104 GB, free: 44.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007149/0.7654, allocations: 5.09 MB / 0.5154 GB, free: 39.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.7655, allocations: 32 kB / 0.5154 GB, free: 39.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.943e-05/0.7655, allocations: 60 kB / 0.5155 GB, free: 39.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007945/0.7663, allocations: 340.8 kB / 0.5158 GB, free: 39.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/0.769, allocations: 0.8851 MB / 0.5167 GB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/0.7737, allocations: 5.063 MB / 0.5216 GB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/0.777, allocations: 0.5378 MB / 0.5221 GB, free: 32.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003577/0.7773, allocations: 212.6 kB / 0.5223 GB, free: 32.19 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.003281/0.7806, allocations: 2.331 MB / 0.5246 GB, free: 29.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.781, allocations: 217.2 kB / 0.5248 GB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.7843, allocations: 2.34 MB / 0.5271 GB, free: 27.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.7843, allocations: 16 kB / 0.5271 GB, free: 27.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7843, allocations: 8 kB / 0.5271 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.7843, allocations: 7.969 kB / 0.5271 GB, free: 27.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007069/0.7914, allocations: 5.331 MB / 0.5323 GB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.7914, allocations: 128 / 0.5323 GB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.7926, allocations: 263.8 kB / 0.5326 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006067/0.7932, allocations: 253.5 kB / 0.5328 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.7933, allocations: 36 kB / 0.5329 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.7972, allocations: 4.945 MB / 0.5377 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7972, allocations: 4.031 kB / 0.5377 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.801, allocations: 3.309 MB / 0.5409 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008358/0.8019, allocations: 465.8 kB / 0.5414 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/0.8021, allocations: 27.94 kB / 0.5414 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.8032, allocations: 103.9 kB / 0.5415 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.8035, allocations: 105.3 kB / 0.5416 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.8036, allocations: 43.98 kB / 0.5417 GB, free: 12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002122/0.8057, allocations: 1.714 MB / 0.5433 GB, free: 10.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8057, allocations: 0 / 0.5433 GB, free: 10.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003993/0.8097, allocations: 1.519 MB / 0.5448 GB, free: 8.746 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.0003614/0.8101, allocations: 173.5 kB / 0.545 GB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00572/0.8158, allocations: 3.814 MB / 0.5487 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.8159, allocations: 4 kB / 0.5487 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.8173, allocations: 1.268 MB / 0.5499 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.8197, allocations: 488.7 kB / 0.5504 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.8372, allocations: 9.984 MB / 0.5602 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004677/0.8419, allocations: 4.186 MB / 0.5642 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.004114/0.8461, allocations: 1.287 MB / 0.5655 GB, free: 3.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007047/0.8468, allocations: 179.4 kB / 0.5657 GB, free: 3.316 MB / 398.1 MB Notification: Performance of SimCode: time 3.025e-06/0.8468, allocations: 0 / 0.5657 GB, free: 3.316 MB / 398.1 MB Notification: Performance of Templates: time 0.06032/0.9072, allocations: 30.84 MB / 0.5958 GB, free: 4.488 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)