Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.3 MB / 308.1 MB, free: 4.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.001594/0.001594, allocations: 188.5 kB / 376.9 MB, free: 1.801 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.464/1.464, allocations: 205 MB / 0.6354 GB, free: 9.793 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.000976/0.0009761, allocations: 98.53 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2612, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03344/0.2947, allocations: 30.38 MB / 1.012 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5378/0.8325, allocations: 13.61 MB / 1.025 GB, free: 69.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003811/0.8364, allocations: 133.1 kB / 1.025 GB, free: 69.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.007818/0.8443, allocations: 2.962 MB / 1.028 GB, free: 69.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009268/0.8535, allocations: 2.475 MB / 1.031 GB, free: 69.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005648/0.8592, allocations: 1.842 MB / 1.032 GB, free: 69.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01621/0.8755, allocations: 10.48 MB / 1.043 GB, free: 68.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0145/0.89, allocations: 9.047 MB / 1.051 GB, free: 67.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006918/0.897, allocations: 3.006 MB / 1.054 GB, free: 66.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006267/0.9033, allocations: 3.429 MB / 1.058 GB, free: 66.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.9047, allocations: 401.8 kB / 1.058 GB, free: 66.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004147/0.9088, allocations: 1.53 MB / 1.06 GB, free: 66.22 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002817/0.9117, allocations: 2.165 MB / 1.062 GB, free: 65.55 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00469/0.9164, allocations: 2.656 MB / 1.064 GB, free: 63.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.009164/0.9255, allocations: 9.3 MB / 1.073 GB, free: 61.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.9256, allocations: 4 kB / 1.073 GB, free: 61.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.346e-06/0.9256, allocations: 0 / 1.073 GB, free: 61.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003317/0.926, allocations: 0 / 1.073 GB, free: 61.2 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0136/0.9396, allocations: 5.136 MB / 1.078 GB, free: 58.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.123e-05/0.9397, allocations: 7.688 kB / 1.078 GB, free: 58.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006079/0.9458, allocations: 0.9977 MB / 1.079 GB, free: 58.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006261/0.952, allocations: 2.893 MB / 1.082 GB, free: 56.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.9523, allocations: 312.8 kB / 1.083 GB, free: 56.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.9534, allocations: 418.8 kB / 1.083 GB, free: 56.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.967, allocations: 6.795 MB / 1.09 GB, free: 53.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.9671, allocations: 18.5 kB / 1.09 GB, free: 53.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/0.9676, allocations: 189.6 kB / 1.09 GB, free: 53.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007987/0.9684, allocations: 368 kB / 1.09 GB, free: 53.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008421/0.9768, allocations: 5.117 MB / 1.095 GB, free: 51.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0311/1.008, allocations: 30.74 MB / 1.125 GB, free: 26.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/1.01, allocations: 1.387 MB / 1.127 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/1.012, allocations: 1.322 MB / 1.128 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/1.012, allocations: 13.72 kB / 1.128 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/1.012, allocations: 62.22 kB / 1.128 GB, free: 25.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=130): time 3.888e-06/1.012, allocations: 0 / 1.128 GB, free: 25.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=199): time 0.1111/1.123, allocations: 23.08 MB / 1.15 GB, free: 20.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/1.123, allocations: 76.48 kB / 1.151 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/1.127, allocations: 2.059 MB / 1.153 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004039/1.127, allocations: 59.03 kB / 1.153 GB, free: 19.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001616/1.129, allocations: 2.01 MB / 1.155 GB, free: 18.13 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008605/1.13, allocations: 0.6792 MB / 1.155 GB, free: 17.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000878/1.131, allocations: 409.3 kB / 1.156 GB, free: 17.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.83e-05/1.131, allocations: 305.9 kB / 1.156 GB, free: 17.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002437/1.133, allocations: 1.428 MB / 1.157 GB, free: 16.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/1.136, allocations: 2.014 MB / 1.159 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004545/1.141, allocations: 3.7 MB / 1.163 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/1.141, allocations: 7.156 kB / 1.163 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01153/1.152, allocations: 5.658 MB / 1.168 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/1.152, allocations: 10.44 kB / 1.168 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/1.152, allocations: 18.66 kB / 1.168 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006894/1.159, allocations: 2.085 MB / 1.17 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/1.162, allocations: 380.8 kB / 1.171 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0502/1.212, allocations: 35.49 MB / 1.205 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004373/1.216, allocations: 123.9 kB / 1.206 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005755/1.217, allocations: 96 kB / 1.206 GB, free: 4.469 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004966/1.222, allocations: 1.512 MB / 1.207 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/1.223, allocations: 288.7 kB / 1.207 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/1.24, allocations: 5.214 MB / 1.213 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/1.24, allocations: 20 kB / 1.213 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-05/1.24, allocations: 20 kB / 1.213 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.088e-05/1.24, allocations: 11.95 kB / 1.213 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0293/1.269, allocations: 9.673 MB / 1.222 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/1.269, allocations: 4 kB / 1.222 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/1.271, allocations: 219.7 kB / 1.222 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009229/1.28, allocations: 1.839 MB / 1.224 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003736/1.281, allocations: 40 kB / 1.224 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05138/1.332, allocations: 34.5 MB / 1.258 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/1.332, allocations: 11.94 kB / 1.258 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02155/1.354, allocations: 7.856 MB / 1.265 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002886/1.356, allocations: 0.6147 MB / 1.266 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.358, allocations: 47.91 kB / 1.266 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/1.36, allocations: 127.8 kB / 1.266 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009963/1.361, allocations: 193.5 kB / 1.266 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/1.362, allocations: 56 kB / 1.266 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003366/1.365, allocations: 1.378 MB / 1.268 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.365, allocations: 0 / 1.268 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.007854/1.373, allocations: 1.051 MB / 1.269 GB, free: 0.8945 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006287/1.374, allocations: 166.2 kB / 1.269 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.389, allocations: 6.266 MB / 1.275 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.191e-05/1.389, allocations: 0.875 kB / 1.275 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01041/1.4, allocations: 4.401 MB / 1.279 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007538/1.407, allocations: 0.913 MB / 1.28 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/1.436, allocations: 11.19 MB / 1.291 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007003/1.444, allocations: 3.187 MB / 1.294 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003858/1.447, allocations: 0.5198 MB / 1.295 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006884/1.448, allocations: 147.4 kB / 1.295 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of SimCode: time 1.573e-06/1.448, allocations: 4 kB / 1.295 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of Templates: time 0.168/1.616, allocations: 60.16 MB / 1.354 GB, free: 10.1 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)