Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001517/0.001517, allocations: 194.2 kB / 376.9 MB, free: 1.832 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.648/1.648, allocations: 205.1 MB / 0.6354 GB, free: 9.812 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.0009489/0.0009489, allocations: 100 kB / 0.748 GB, free: 60.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2957, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04046/0.3362, allocations: 34.68 MB / 1.016 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5249/0.8612, allocations: 9.981 MB / 1.026 GB, free: 71.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/0.8657, allocations: 131.8 kB / 1.026 GB, free: 71.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.009304/0.8751, allocations: 3.532 MB / 1.029 GB, free: 71.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007348/0.8824, allocations: 1.923 MB / 1.031 GB, free: 71.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005564/0.888, allocations: 1.784 MB / 1.033 GB, free: 71.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01609/0.9042, allocations: 11.25 MB / 1.044 GB, free: 70.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02607/0.9303, allocations: 10.71 MB / 1.054 GB, free: 69.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007755/0.9381, allocations: 2.904 MB / 1.057 GB, free: 68.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008019/0.9461, allocations: 3.801 MB / 1.061 GB, free: 67 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002747/0.9489, allocations: 464.6 kB / 1.061 GB, free: 67 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005787/0.9547, allocations: 1.444 MB / 1.063 GB, free: 66.74 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.005264/0.96, allocations: 2.396 MB / 1.065 GB, free: 65.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00966/0.9697, allocations: 2.85 MB / 1.068 GB, free: 64.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01631/0.9861, allocations: 10.19 MB / 1.078 GB, free: 61.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.9861, allocations: 0 / 1.078 GB, free: 61.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9861, allocations: 0 / 1.078 GB, free: 61.17 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004816/0.9866, allocations: 0 / 1.078 GB, free: 61.17 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01959/1.006, allocations: 5.408 MB / 1.083 GB, free: 58.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.006, allocations: 9.344 kB / 1.083 GB, free: 58.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006653/1.013, allocations: 0.9667 MB / 1.084 GB, free: 57.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008561/1.022, allocations: 2.99 MB / 1.087 GB, free: 56.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/1.022, allocations: 360.6 kB / 1.087 GB, free: 56.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/1.025, allocations: 469.4 kB / 1.088 GB, free: 56.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/1.046, allocations: 7.904 MB / 1.096 GB, free: 52.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002748/1.046, allocations: 30.22 kB / 1.096 GB, free: 52.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001795/1.048, allocations: 203.3 kB / 1.096 GB, free: 52.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006098/1.049, allocations: 371.8 kB / 1.096 GB, free: 52.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/1.062, allocations: 5.942 MB / 1.102 GB, free: 50.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04511/1.107, allocations: 36.21 MB / 1.137 GB, free: 20.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/1.111, allocations: 2.131 MB / 1.139 GB, free: 19.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/1.114, allocations: 1.478 MB / 1.141 GB, free: 19.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/1.114, allocations: 16.88 kB / 1.141 GB, free: 19.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.114, allocations: 51.62 kB / 1.141 GB, free: 19.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=157): time 7.784e-06/1.114, allocations: 0 / 1.141 GB, free: 19.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=160): time 0.02091/1.135, allocations: 7.542 MB / 1.148 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/1.135, allocations: 69.03 kB / 1.148 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004997/1.14, allocations: 1.865 MB / 1.15 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003266/1.14, allocations: 53.95 kB / 1.15 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001888/1.142, allocations: 2.128 MB / 1.152 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008059/1.143, allocations: 0.5578 MB / 1.153 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/1.144, allocations: 402 kB / 1.153 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/1.144, allocations: 303.6 kB / 1.154 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/1.146, allocations: 1.062 MB / 1.155 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/1.149, allocations: 1.764 MB / 1.156 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/1.154, allocations: 3.046 MB / 1.159 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.753e-05/1.154, allocations: 6.25 kB / 1.159 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008499/1.162, allocations: 3.928 MB / 1.163 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/1.163, allocations: 13.59 kB / 1.163 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.695e-05/1.163, allocations: 27.7 kB / 1.163 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/1.166, allocations: 0.9363 MB / 1.164 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.168, allocations: 423.5 kB / 1.164 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/1.19, allocations: 21.05 MB / 1.185 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/1.193, allocations: 123.4 kB / 1.185 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003997/1.193, allocations: 104.8 kB / 1.185 GB, free: 4.027 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.00411/1.197, allocations: 1.644 MB / 1.187 GB, free: 3.289 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008404/1.198, allocations: 256 kB / 1.187 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006343/1.205, allocations: 3.262 MB / 1.19 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/1.205, allocations: 21.34 kB / 1.19 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/1.205, allocations: 9.594 kB / 1.19 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/1.205, allocations: 6.281 kB / 1.19 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/1.22, allocations: 7.56 MB / 1.198 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.221, allocations: 4 kB / 1.198 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/1.221, allocations: 215.6 kB / 1.198 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/1.224, allocations: 0.894 MB / 1.199 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/1.224, allocations: 32 kB / 1.199 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02051/1.245, allocations: 21.01 MB / 1.219 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.245, allocations: 7.938 kB / 1.219 GB, free: 6.227 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00944/1.254, allocations: 5.847 MB / 1.225 GB, free: 228 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.256, allocations: 0.5253 MB / 1.226 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/1.256, allocations: 35.98 kB / 1.226 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.257, allocations: 87.89 kB / 1.226 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004558/1.258, allocations: 141 kB / 1.226 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.258, allocations: 48 kB / 1.226 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001786/1.259, allocations: 1.221 MB / 1.227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/1.259, allocations: 3.938 kB / 1.227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003784/1.263, allocations: 0.9102 MB / 1.228 GB, free: 13.22 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000328/1.264, allocations: 165.8 kB / 1.228 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007053/1.271, allocations: 4.412 MB / 1.232 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.271, allocations: 1 kB / 1.232 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/1.275, allocations: 2.984 MB / 1.235 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.28, allocations: 0.769 MB / 1.236 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.298, allocations: 10.61 MB / 1.246 GB, free: 9.891 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005247/1.303, allocations: 3.259 MB / 1.25 GB, free: 6.598 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002301/1.306, allocations: 0.5215 MB / 1.25 GB, free: 6.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/1.306, allocations: 143.4 kB / 1.25 GB, free: 5.93 MB / 0.823 GB Notification: Performance of SimCode: time 7.11e-07/1.306, allocations: 0 / 1.25 GB, free: 5.93 MB / 0.823 GB Notification: Performance of Templates: time 0.07803/1.384, allocations: 42.78 MB / 1.292 GB, free: 11.7 MB / 0.8698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)