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.007372/0.007372, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001722/0.001723, allocations: 190 kB / 16.67 MB, free: 5.977 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.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.00112/0.00112, allocations: 50.22 kB / 326.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09472, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01571/0.1105, allocations: 14.61 MB / 387.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1207, allocations: 3.945 MB / 391.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003327/0.1241, allocations: 91.75 kB / 391.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01201/0.1361, allocations: 5.597 MB / 397.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005887/0.142, allocations: 1.749 MB / 399.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.1452, allocations: 1.083 MB / 400.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008056/0.1533, allocations: 6.74 MB / 407 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01608/0.1694, allocations: 13.74 MB / 420.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/0.1736, allocations: 3.498 MB / 424.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006174/0.1798, allocations: 4.119 MB / 428.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002723/0.1826, allocations: 0.9141 MB / 429.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.1862, allocations: 1.101 MB / 430.4 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002523/0.1888, allocations: 1.929 MB / 432.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006/0.1948, allocations: 3.793 MB / 436.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.2085, allocations: 12.39 MB / 448.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.2086, allocations: 3.984 kB / 448.5 MB, free: 5.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.2086, allocations: 0 / 448.5 MB, free: 5.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003228/0.2089, allocations: 7.875 kB / 448.5 MB, free: 5.656 MB / 382.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.2343/0.4432, allocations: 8.286 MB / 456.8 MB, free: 63.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4433, allocations: 14.11 kB / 456.8 MB, free: 63.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03336/0.4767, allocations: 5.074 MB / 461.9 MB, free: 62.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009829/0.4866, allocations: 3.548 MB / 465.4 MB, free: 60.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005667/0.4872, allocations: 0.5064 MB / 465.9 MB, free: 60.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002852/0.49, allocations: 0.6665 MB / 466.6 MB, free: 60 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02322/0.5133, allocations: 10.47 MB / 477.1 MB, free: 54.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001884/0.5135, allocations: 7.781 kB / 477.1 MB, free: 54.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/0.5145, allocations: 287.7 kB / 477.3 MB, free: 53.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002697/0.5148, allocations: 385.4 kB / 477.7 MB, free: 53.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.5302, allocations: 9.638 MB / 487.4 MB, free: 44.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04787/0.5781, allocations: 31.5 MB / 0.5067 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/0.5958, allocations: 22.91 MB / 0.5291 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003372/0.5992, allocations: 1.937 MB / 0.531 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/0.6112, allocations: 6.232 MB / 0.537 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/0.6114, allocations: 48 kB / 0.5371 GB, free: 8.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 5.119e-06/0.6114, allocations: 0 / 0.5371 GB, free: 8.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.006876/0.6183, allocations: 3.169 MB / 0.5402 GB, free: 5.656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.6184, allocations: 94.48 kB / 0.5403 GB, free: 5.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.6228, allocations: 2.612 MB / 0.5428 GB, free: 2.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.6231, allocations: 53.7 kB / 0.5429 GB, free: 2.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/0.6251, allocations: 3.122 MB / 0.5459 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006285/0.6258, allocations: 0.5512 MB / 0.5465 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/0.6272, allocations: 0.8014 MB / 0.5473 GB, free: 14.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.6273, allocations: 305.1 kB / 0.5475 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.6297, allocations: 1.464 MB / 0.549 GB, free: 12.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/0.6334, allocations: 3.256 MB / 0.5522 GB, free: 8.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005818/0.6392, allocations: 4.824 MB / 0.5569 GB, free: 2.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-05/0.6393, allocations: 20 kB / 0.5569 GB, free: 2.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009427/0.6487, allocations: 5.09 MB / 0.5619 GB, free: 13.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.6489, allocations: 32 kB / 0.5619 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.649, allocations: 60 kB / 0.5619 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009369/0.6499, allocations: 343.4 kB / 0.5623 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/0.6532, allocations: 0.8813 MB / 0.5631 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.6589, allocations: 5.05 MB / 0.5681 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/0.6629, allocations: 0.5456 MB / 0.5686 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007604/0.6637, allocations: 208 kB / 0.5688 GB, free: 6.242 MB / 446.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.005017/0.6687, allocations: 2.335 MB / 0.5711 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007107/0.6694, allocations: 225.1 kB / 0.5713 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/0.6741, allocations: 2.316 MB / 0.5735 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.6741, allocations: 23.31 kB / 0.5736 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.6742, allocations: 7.984 kB / 0.5736 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.6742, allocations: 3.984 kB / 0.5736 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.6876, allocations: 5.34 MB / 0.5788 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/0.6876, allocations: 7.984 kB / 0.5788 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.6891, allocations: 255.8 kB / 0.579 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007777/0.6899, allocations: 257.5 kB / 0.5793 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/0.6902, allocations: 31.98 kB / 0.5793 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005326/0.6956, allocations: 4.945 MB / 0.5842 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6956, allocations: 0 / 0.5842 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005656/0.7013, allocations: 3.305 MB / 0.5874 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.7026, allocations: 473.8 kB / 0.5878 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006036/0.7033, allocations: 28 kB / 0.5879 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.7049, allocations: 95.91 kB / 0.5879 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.7052, allocations: 113.2 kB / 0.5881 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.7053, allocations: 40 kB / 0.5881 GB, free: 2.016 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003298/0.7086, allocations: 1.714 MB / 0.5898 GB, free: 292 kB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7086, allocations: 4 kB / 0.5898 GB, free: 288 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.00532/0.714, allocations: 1.523 MB / 0.5913 GB, free: 14.75 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.0004597/0.7144, allocations: 165.7 kB / 0.5914 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006023/0.7205, allocations: 3.512 MB / 0.5948 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.7205, allocations: 4 kB / 0.5949 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001965/0.7225, allocations: 1.261 MB / 0.5961 GB, free: 9.773 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/0.7257, allocations: 497.9 kB / 0.5966 GB, free: 9.293 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.744, allocations: 9.86 MB / 0.6062 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004733/0.7488, allocations: 4.186 MB / 0.6103 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003435/0.7522, allocations: 1.283 MB / 0.6115 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.7528, allocations: 183.4 kB / 0.6117 GB, free: 9.715 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.7528, allocations: 0 / 0.6117 GB, free: 9.715 MB / 494.1 MB Notification: Performance of Templates: time 0.2916/1.044, allocations: 31.77 MB / 0.6427 GB, free: 166.8 MB / 0.4981 GB 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)