Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.274/2.274, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 183.3 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.362/2.362, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009083/0.0009076, allocations: 103.5 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.000484, allocations: 12.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9627/1.171, allocations: 179.5 MB / 1.075 GB, free: 65.75 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004024/1.172, allocations: 106.1 kB / 1.075 GB, free: 65.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.101/3.273, allocations: 321.2 MB / 1.389 GB, free: 153.1 MB / 0.8699 GB Notification: Performance of FrontEnd: time 4.599e-06/3.273, allocations: 0.6562 kB / 1.389 GB, free: 153.1 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.0007455/3.274, allocations: 176.8 kB / 1.389 GB, free: 153.1 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03277/3.306, allocations: 6.131 MB / 1.395 GB, free: 151 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/3.306, allocations: 9.156 kB / 1.395 GB, free: 151 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02302/3.329, allocations: 1.775 MB / 1.396 GB, free: 150.6 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02499/3.355, allocations: 5.044 MB / 1.401 GB, free: 149.7 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009708/3.356, allocations: 457.4 kB / 1.402 GB, free: 149.7 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004128/3.36, allocations: 0.5956 MB / 1.402 GB, free: 149.6 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03849/3.398, allocations: 10.03 MB / 1.412 GB, free: 148.3 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005605/3.399, allocations: 28.28 kB / 1.412 GB, free: 148.3 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003638/3.403, allocations: 272.3 kB / 1.412 GB, free: 148.3 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007175/3.403, allocations: 379.5 kB / 1.413 GB, free: 148.2 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/3.43, allocations: 7.836 MB / 1.421 GB, free: 148.2 MB / 0.8699 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09203/3.522, allocations: 46.4 MB / 1.466 GB, free: 121.5 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00947/3.532, allocations: 4.193 MB / 1.47 GB, free: 121.5 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00891/3.541, allocations: 3.592 MB / 1.473 GB, free: 121.4 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007413/3.542, allocations: 38.81 kB / 1.473 GB, free: 121.4 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.586e-05/3.542, allocations: 72.84 kB / 1.474 GB, free: 121.4 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=353): time 6.833e-06/3.542, allocations: 0 / 1.474 GB, free: 121.4 MB / 0.8699 GB Notification: Performance of matching and sorting (n=578): time 0.8482/4.39, allocations: 106.5 MB / 1.578 GB, free: 99.43 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/4.39, allocations: 115.9 kB / 1.578 GB, free: 99.3 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/4.395, allocations: 2.503 MB / 1.58 GB, free: 97.22 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.001554/4.397, allocations: 115.1 kB / 1.58 GB, free: 97.1 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.002213/4.399, allocations: 2.699 MB / 1.583 GB, free: 94.69 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.003212/4.402, allocations: 1.956 MB / 1.585 GB, free: 92.92 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009081/4.403, allocations: 112 kB / 1.585 GB, free: 92.81 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0004105/4.404, allocations: 0.5307 MB / 1.585 GB, free: 92.34 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009671/4.413, allocations: 3.783 MB / 1.589 GB, free: 89.07 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/4.424, allocations: 4.934 MB / 1.594 GB, free: 84.3 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/4.436, allocations: 4.58 MB / 1.598 GB, free: 80.14 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/4.436, allocations: 12 kB / 1.598 GB, free: 80.13 MB / 0.8699 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06267/4.499, allocations: 16 MB / 1.614 GB, free: 67.16 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/4.499, allocations: 20 kB / 1.614 GB, free: 67.14 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.302e-05/4.499, allocations: 28 kB / 1.614 GB, free: 67.11 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04389/4.543, allocations: 7.747 MB / 1.622 GB, free: 61.08 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/4.547, allocations: 0.5575 MB / 1.622 GB, free: 60.65 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1541/4.702, allocations: 67.64 MB / 1.688 GB, free: 0 / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009533/4.711, allocations: 315.5 kB / 1.689 GB, free: 0 / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003348/4.715, allocations: 292 kB / 1.689 GB, free: 0 / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (286): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009485/4.724, allocations: 2.447 MB / 1.691 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002554/4.727, allocations: 470.1 kB / 1.692 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07171/4.798, allocations: 15.92 MB / 1.707 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-05/4.799, allocations: 60.94 kB / 1.707 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002651/4.799, allocations: 72 kB / 1.707 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001459/4.799, allocations: 27.89 kB / 1.707 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8402/5.639, allocations: 24.01 MB / 1.731 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001108/5.639, allocations: 7.406 kB / 1.731 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004963/5.644, allocations: 323.3 kB / 1.731 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05759/5.702, allocations: 6.879 MB / 1.738 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002031/5.704, allocations: 105.5 kB / 1.738 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1822/5.886, allocations: 64.44 MB / 1.801 GB, free: 147.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/5.886, allocations: 11.22 kB / 1.801 GB, free: 147.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06858/5.955, allocations: 20.28 MB / 1.821 GB, free: 146 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005243/5.96, allocations: 1.254 MB / 1.822 GB, free: 145.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002674/5.963, allocations: 109.8 kB / 1.822 GB, free: 145.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007028/5.97, allocations: 235.1 kB / 1.822 GB, free: 145.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003365/5.974, allocations: 0.5201 MB / 1.823 GB, free: 145.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00137/5.975, allocations: 137.3 kB / 1.823 GB, free: 145.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004142/5.979, allocations: 1.622 MB / 1.824 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.31e-07/5.979, allocations: 0 / 1.824 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01372/5.993, allocations: 2.311 MB / 1.827 GB, free: 145.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/5.995, allocations: 238.6 kB / 1.827 GB, free: 145.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04166/6.037, allocations: 13.82 MB / 1.84 GB, free: 141.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/6.037, allocations: 0 / 1.84 GB, free: 141.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.02962/6.066, allocations: 9.062 MB / 1.849 GB, free: 136.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.013/6.079, allocations: 1.199 MB / 1.85 GB, free: 136.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04414/6.124, allocations: 17.89 MB / 1.868 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01257/6.136, allocations: 4.888 MB / 1.873 GB, free: 125.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005033/6.141, allocations: 0.7409 MB / 1.873 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/6.143, allocations: 196.4 kB / 1.874 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.372e-06/6.143, allocations: 0 / 1.874 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.3313/6.474, allocations: 125 MB / 1.996 GB, free: 58.01 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)