Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.49/2.49, allocations: 287.5 MB / 303.2 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001301, allocations: 172.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009158/0.0009156, allocations: 100.5 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.000479, allocations: 10.56 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.224, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9824/1.206, allocations: 184.8 MB / 1.16 GB, free: 14.84 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/1.207, allocations: 101.4 kB / 1.16 GB, free: 14.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.076/2.283, allocations: 269.2 MB / 1.423 GB, free: 10.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.025e-06/2.283, allocations: 0 / 1.423 GB, free: 10.74 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000689/2.283, allocations: 147.9 kB / 1.423 GB, free: 10.59 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02467/2.308, allocations: 5.075 MB / 1.428 GB, free: 5.445 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/2.308, allocations: 12.03 kB / 1.428 GB, free: 5.434 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01755/2.326, allocations: 1.495 MB / 1.429 GB, free: 3.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.704/3.03, allocations: 4.308 MB / 1.434 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007076/3.03, allocations: 383.9 kB / 1.434 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/3.033, allocations: 0.4958 MB / 1.434 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03034/3.064, allocations: 8.421 MB / 1.443 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004063/3.064, allocations: 25.53 kB / 1.443 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002439/3.067, allocations: 229.4 kB / 1.443 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007737/3.068, allocations: 329.9 kB / 1.443 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/3.091, allocations: 6.445 MB / 1.449 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08358/3.174, allocations: 40.03 MB / 1.489 GB, free: 179.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007394/3.182, allocations: 2.811 MB / 1.491 GB, free: 179.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006779/3.189, allocations: 2.583 MB / 1.494 GB, free: 179.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/3.189, allocations: 30.2 kB / 1.494 GB, free: 179.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/3.189, allocations: 61.88 kB / 1.494 GB, free: 179.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=265): time 5.781e-06/3.189, allocations: 0.9688 kB / 1.494 GB, free: 179.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=424): time 0.5279/3.717, allocations: 64.94 MB / 1.557 GB, free: 173.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/3.717, allocations: 93.3 kB / 1.557 GB, free: 173.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00422/3.722, allocations: 2.245 MB / 1.56 GB, free: 173.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/3.723, allocations: 92.7 kB / 1.56 GB, free: 173.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001959/3.725, allocations: 2.339 MB / 1.562 GB, free: 172.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002335/3.727, allocations: 1.443 MB / 1.563 GB, free: 171.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005888/3.728, allocations: 87.84 kB / 1.564 GB, free: 171.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003099/3.728, allocations: 479.6 kB / 1.564 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006712/3.735, allocations: 2.774 MB / 1.567 GB, free: 170.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007748/3.743, allocations: 3.759 MB / 1.57 GB, free: 168.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/3.758, allocations: 7.128 MB / 1.577 GB, free: 164.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.886e-05/3.759, allocations: 7.281 kB / 1.577 GB, free: 164.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04625/3.805, allocations: 11.8 MB / 1.589 GB, free: 159.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/3.805, allocations: 16.84 kB / 1.589 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/3.805, allocations: 32.06 kB / 1.589 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03115/3.836, allocations: 5.003 MB / 1.594 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/3.84, allocations: 0.5065 MB / 1.594 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1122/3.952, allocations: 64.91 MB / 1.658 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006231/3.959, allocations: 182.6 kB / 1.658 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/3.96, allocations: 163 kB / 1.658 GB, free: 106.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006191/3.966, allocations: 1.998 MB / 1.66 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/3.968, allocations: 391.3 kB / 1.66 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04508/4.013, allocations: 11.57 MB / 1.672 GB, free: 95.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/4.013, allocations: 40 kB / 1.672 GB, free: 95.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001863/4.013, allocations: 48 kB / 1.672 GB, free: 95.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/4.013, allocations: 21.23 kB / 1.672 GB, free: 95.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06211/4.075, allocations: 17.9 MB / 1.689 GB, free: 81.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.499e-05/4.075, allocations: 8 kB / 1.689 GB, free: 81.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002964/4.078, allocations: 297.3 kB / 1.689 GB, free: 80.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02737/4.106, allocations: 4.518 MB / 1.694 GB, free: 77.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/4.107, allocations: 80 kB / 1.694 GB, free: 77.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1422/4.249, allocations: 62.46 MB / 1.755 GB, free: 17.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-05/4.249, allocations: 11.94 kB / 1.755 GB, free: 17.28 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06681/4.316, allocations: 14.64 MB / 1.769 GB, free: 4.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005175/4.321, allocations: 0.9737 MB / 1.77 GB, free: 3.836 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002431/4.324, allocations: 80 kB / 1.77 GB, free: 3.758 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00722/4.331, allocations: 179.3 kB / 1.77 GB, free: 3.633 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003062/4.334, allocations: 403.3 kB / 1.771 GB, free: 3.379 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001225/4.335, allocations: 110.8 kB / 1.771 GB, free: 3.273 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005023/4.341, allocations: 1.457 MB / 1.772 GB, free: 2.066 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.62e-07/4.341, allocations: 0 / 1.772 GB, free: 2.066 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01329/4.354, allocations: 1.76 MB / 1.774 GB, free: 320 kB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001515/4.355, allocations: 220.2 kB / 1.774 GB, free: 100 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04291/4.398, allocations: 12.02 MB / 1.786 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/4.398, allocations: 192 / 1.786 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.7132/5.112, allocations: 8.065 MB / 1.794 GB, free: 190.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01347/5.125, allocations: 1.023 MB / 1.795 GB, free: 190.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/5.161, allocations: 14.1 MB / 1.809 GB, free: 185.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01169/5.173, allocations: 4.085 MB / 1.813 GB, free: 184.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004851/5.178, allocations: 0.6703 MB / 1.813 GB, free: 184.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009711/5.179, allocations: 181.2 kB / 1.814 GB, free: 184.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.022e-06/5.179, allocations: 4.656 kB / 1.814 GB, free: 184.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.2297/5.408, allocations: 94.85 MB / 1.906 GB, free: 181.2 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)