Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001204/0.001204, 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.001084/0.001084, allocations: 194.9 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.341/1.341, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001276/0.001276, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2143, allocations: 46.63 MB / 325.3 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01387/0.2282, allocations: 14.61 MB / 339.9 MB, free: 5.297 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007488/0.2358, allocations: 3.933 MB / 343.9 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.2378, allocations: 83.81 kB / 343.9 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.2497, allocations: 5.601 MB / 349.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00601/0.2557, allocations: 1.737 MB / 351.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.259, allocations: 1.091 MB / 352.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008214/0.2672, allocations: 6.703 MB / 359.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01782/0.285, allocations: 13.8 MB / 372.9 MB, free: 4.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005597/0.2907, allocations: 3.483 MB / 376.4 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005723/0.2964, allocations: 4.131 MB / 380.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00213/0.2986, allocations: 0.9141 MB / 381.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.3017, allocations: 1.109 MB / 382.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.3039, allocations: 1.929 MB / 384.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004314/0.3082, allocations: 3.797 MB / 388.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.3187, allocations: 12.29 MB / 400.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3187, allocations: 0 / 400.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3187, allocations: 0 / 400.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002919/0.319, allocations: 4 kB / 400.5 MB, free: 8.406 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.02185/0.3409, allocations: 8.299 MB / 408.8 MB, free: 32 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.341, allocations: 11.89 kB / 408.8 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0331/0.3741, allocations: 5.072 MB / 413.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007637/0.3817, allocations: 3.543 MB / 417.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004479/0.3822, allocations: 0.5136 MB / 418 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.3844, allocations: 0.6639 MB / 418.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.4071, allocations: 10.47 MB / 429.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/0.4073, allocations: 15.89 kB / 429.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.4086, allocations: 283.9 kB / 429.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003779/0.409, allocations: 386.6 kB / 429.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/0.427, allocations: 9.633 MB / 439.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2163/0.6434, allocations: 31.85 MB / 471.3 MB, free: 92.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/0.6571, allocations: 22.91 MB / 494.2 MB, free: 70.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00273/0.6599, allocations: 1.948 MB / 496.1 MB, free: 69.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008468/0.6684, allocations: 6.25 MB / 0.4906 GB, free: 64.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.6685, allocations: 51.56 kB / 0.4906 GB, free: 64.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 3.196e-06/0.6685, allocations: 0 / 0.4906 GB, free: 64.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.005617/0.6741, allocations: 3.17 MB / 0.4937 GB, free: 62.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6742, allocations: 96.3 kB / 0.4938 GB, free: 62.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00378/0.6779, allocations: 2.621 MB / 0.4964 GB, free: 60.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.678, allocations: 49.7 kB / 0.4964 GB, free: 60.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.6797, allocations: 3.115 MB / 0.4995 GB, free: 57.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.6801, allocations: 0.5466 MB / 0.5 GB, free: 57.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.6812, allocations: 0.8014 MB / 0.5008 GB, free: 56.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.6813, allocations: 301.1 kB / 0.5011 GB, free: 56.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.6832, allocations: 1.464 MB / 0.5025 GB, free: 54.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.6857, allocations: 3.272 MB / 0.5057 GB, free: 50.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00415/0.6898, allocations: 4.82 MB / 0.5104 GB, free: 44.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-05/0.6899, allocations: 16 kB / 0.5104 GB, free: 44.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006577/0.6965, allocations: 5.086 MB / 0.5154 GB, free: 39.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.6965, allocations: 32 kB / 0.5154 GB, free: 39.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.002e-05/0.6966, allocations: 63.94 kB / 0.5155 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007663/0.6974, allocations: 344.8 kB / 0.5158 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.6999, allocations: 0.8851 MB / 0.5167 GB, free: 38.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/0.7039, allocations: 5.055 MB / 0.5216 GB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/0.7067, allocations: 0.538 MB / 0.5221 GB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/0.7071, allocations: 216 kB / 0.5223 GB, free: 32.27 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.002827/0.7099, allocations: 2.327 MB / 0.5246 GB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/0.7103, allocations: 225.2 kB / 0.5248 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/0.7136, allocations: 2.328 MB / 0.5271 GB, free: 27.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.7136, allocations: 16 kB / 0.5271 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.7136, allocations: 8 kB / 0.5271 GB, free: 27.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.7137, allocations: 7.969 kB / 0.5271 GB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00784/0.7215, allocations: 5.327 MB / 0.5323 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.7215, allocations: 0 / 0.5323 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.7226, allocations: 265.2 kB / 0.5326 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005674/0.7232, allocations: 253.5 kB / 0.5328 GB, free: 21.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.7233, allocations: 32 kB / 0.5329 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003861/0.7272, allocations: 4.952 MB / 0.5377 GB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7272, allocations: 0 / 0.5377 GB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/0.731, allocations: 3.309 MB / 0.5409 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/0.7318, allocations: 465.8 kB / 0.5414 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004273/0.7323, allocations: 31.94 kB / 0.5414 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7335, allocations: 95.89 kB / 0.5415 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.7336, allocations: 105.4 kB / 0.5416 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/0.7337, allocations: 43.98 kB / 0.5416 GB, free: 12.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002356/0.7361, allocations: 1.714 MB / 0.5433 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7361, allocations: 0 / 0.5433 GB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003846/0.74, allocations: 1.519 MB / 0.5448 GB, free: 8.832 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.0003321/0.7403, allocations: 178.1 kB / 0.545 GB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005428/0.7457, allocations: 3.81 MB / 0.5487 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7458, allocations: 0 / 0.5487 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.7472, allocations: 1.268 MB / 0.5499 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.7493, allocations: 0.4973 MB / 0.5504 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.7651, allocations: 9.982 MB / 0.5602 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004541/0.7697, allocations: 4.186 MB / 0.5643 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003535/0.7732, allocations: 1.283 MB / 0.5655 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/0.7737, allocations: 179.4 kB / 0.5657 GB, free: 3.395 MB / 398.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7737, allocations: 0 / 0.5657 GB, free: 3.395 MB / 398.1 MB Notification: Performance of Templates: time 0.05626/0.83, allocations: 30.85 MB / 0.5958 GB, free: 4.559 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)