Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.546/1.546, allocations: 285.4 MB / 298 MB, free: 6.039 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.001093/0.001093, allocations: 176.9 kB / 366.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007817/0.0007815, allocations: 102.1 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.351e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6907/0.6908, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2551/0.946, allocations: 184.9 MB / 1.151 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.9464, allocations: 99.94 kB / 1.152 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.344/2.29, allocations: 267.4 MB / 1.413 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.105e-06/2.29, allocations: 4 kB / 1.413 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006552/2.291, allocations: 136 kB / 1.413 GB, free: 131.2 MB / 0.8542 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.01959/2.311, allocations: 4.639 MB / 1.417 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/2.311, allocations: 8.031 kB / 1.417 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/2.324, allocations: 1.488 MB / 1.419 GB, free: 125 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/2.338, allocations: 4.203 MB / 1.423 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004622/2.339, allocations: 386.1 kB / 1.423 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003809/2.343, allocations: 0.492 MB / 1.424 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0308/2.374, allocations: 8.28 MB / 1.432 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003397/2.374, allocations: 35.7 kB / 1.432 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002549/2.377, allocations: 223.9 kB / 1.432 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004373/2.377, allocations: 330 kB / 1.432 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/2.393, allocations: 6.333 MB / 1.439 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05808/2.451, allocations: 40 MB / 1.478 GB, free: 60.95 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00457/2.456, allocations: 2.789 MB / 1.48 GB, free: 58.15 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003809/2.46, allocations: 2.542 MB / 1.483 GB, free: 55.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/2.46, allocations: 30.08 kB / 1.483 GB, free: 55.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/2.46, allocations: 64.64 kB / 1.483 GB, free: 55.49 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 5.45e-06/2.46, allocations: 4 kB / 1.483 GB, free: 55.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.2483/2.708, allocations: 60.08 MB / 1.542 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/2.709, allocations: 98.67 kB / 1.542 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004779/2.713, allocations: 1.904 MB / 1.544 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001174/2.714, allocations: 93.7 kB / 1.544 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002176/2.717, allocations: 2.337 MB / 1.546 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002487/2.719, allocations: 1.436 MB / 1.547 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009093/2.72, allocations: 84 kB / 1.547 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0004626/2.721, allocations: 495.4 kB / 1.548 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005181/2.726, allocations: 2.726 MB / 1.551 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005779/2.732, allocations: 3.696 MB / 1.554 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005671/2.737, allocations: 3.322 MB / 1.557 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.242e-05/2.737, allocations: 8 kB / 1.557 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02872/2.766, allocations: 11.69 MB / 1.569 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/2.766, allocations: 18.03 kB / 1.569 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.612e-05/2.766, allocations: 32 kB / 1.569 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01836/2.785, allocations: 4.995 MB / 1.574 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/2.787, allocations: 0.4992 MB / 1.574 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7599/3.547, allocations: 64.69 MB / 1.637 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/3.552, allocations: 184.3 kB / 1.638 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006957/3.553, allocations: 164.9 kB / 1.638 GB, free: 201.1 MB / 0.9323 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 () * 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.0009185/3.554, allocations: 342 kB / 1.638 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009129/3.554, allocations: 386.4 kB / 1.638 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02648/3.581, allocations: 11.47 MB / 1.65 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-05/3.581, allocations: 39.97 kB / 1.65 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001921/3.581, allocations: 48.75 kB / 1.65 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/3.581, allocations: 22.66 kB / 1.65 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04491/3.626, allocations: 17.82 MB / 1.667 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.531e-05/3.626, allocations: 7.625 kB / 1.667 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/3.628, allocations: 288.4 kB / 1.667 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01678/3.645, allocations: 4.498 MB / 1.672 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/3.646, allocations: 79.75 kB / 1.672 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06709/3.713, allocations: 62.23 MB / 1.733 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/3.713, allocations: 14.94 kB / 1.733 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02812/3.742, allocations: 15.18 MB / 1.748 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003491/3.745, allocations: 0.9737 MB / 1.749 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/3.746, allocations: 85.19 kB / 1.749 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003198/3.75, allocations: 176.2 kB / 1.749 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001753/3.751, allocations: 396.8 kB / 1.749 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003163/3.752, allocations: 109.2 kB / 1.749 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002484/3.754, allocations: 1.433 MB / 1.751 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.52e-07/3.754, allocations: 0 / 1.751 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008339/3.763, allocations: 1.755 MB / 1.752 GB, free: 150.5 MB / 0.9323 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 () * 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.0008663/3.763, allocations: 217.6 kB / 1.753 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01917/3.783, allocations: 11.45 MB / 1.764 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-05/3.783, allocations: 6.75 kB / 1.764 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0148/3.798, allocations: 7.946 MB / 1.772 GB, free: 139.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006107/3.804, allocations: 0.9806 MB / 1.772 GB, free: 139 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/3.823, allocations: 9.96 MB / 1.782 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005747/3.829, allocations: 4.193 MB / 1.786 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003409/3.833, allocations: 0.664 MB / 1.787 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/3.833, allocations: 179.7 kB / 1.787 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of SimCode: time 3.026e-06/3.833, allocations: 0 / 1.787 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.1531/3.986, allocations: 94.85 MB / 1.88 GB, free: 64.88 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)