Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 193.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.78 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3348, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03947/0.3744, allocations: 34.54 MB / 1.101 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.395, allocations: 11.39 MB / 1.113 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.3993, allocations: 143.2 kB / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0118/0.4112, allocations: 4.007 MB / 1.117 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007354/0.4185, allocations: 1.82 MB / 1.118 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.008343/0.4269, allocations: 2.185 MB / 1.121 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01203/0.439, allocations: 8.491 MB / 1.129 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02624/0.4653, allocations: 13.44 MB / 1.142 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008825/0.4742, allocations: 3.797 MB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008143/0.4824, allocations: 4.386 MB / 1.15 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004344/0.4868, allocations: 0.7812 MB / 1.151 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008279/0.4951, allocations: 2.028 MB / 1.153 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006349/0.5014, allocations: 3.06 MB / 1.156 GB, free: 392 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.009268/0.5107, allocations: 3.393 MB / 1.159 GB, free: 12.97 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01867/0.5295, allocations: 12.02 MB / 1.171 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.5295, allocations: 0 / 1.171 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5295, allocations: 0 / 1.171 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005462/0.5301, allocations: 4 kB / 1.171 GB, free: 0.9219 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02144/0.5515, allocations: 5.799 MB / 1.176 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.5516, allocations: 12.03 kB / 1.176 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007751/0.5594, allocations: 1.052 MB / 1.177 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007986/0.5674, allocations: 3.266 MB / 1.181 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.5678, allocations: 407.5 kB / 1.181 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002256/0.5701, allocations: 0.5393 MB / 1.182 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02192/0.592, allocations: 9.079 MB / 1.19 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001917/0.5923, allocations: 31.62 kB / 1.19 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008033/0.5931, allocations: 236 kB / 1.191 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003905/0.5935, allocations: 354.8 kB / 1.191 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.6095, allocations: 6.83 MB / 1.198 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05083/0.6604, allocations: 40.1 MB / 1.237 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/0.6643, allocations: 3.108 MB / 1.24 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002594/0.6669, allocations: 1.974 MB / 1.242 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.6671, allocations: 18 kB / 1.242 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.6671, allocations: 56.55 kB / 1.242 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 4.188e-06/0.6671, allocations: 4 kB / 1.242 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.641/1.308, allocations: 9.972 MB / 1.252 GB, free: 164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/1.308, allocations: 74.78 kB / 1.252 GB, free: 164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/1.31, allocations: 1.529 MB / 1.253 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/1.311, allocations: 53.67 kB / 1.253 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0013/1.312, allocations: 2.257 MB / 1.255 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005808/1.313, allocations: 0.6307 MB / 1.256 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005746/1.313, allocations: 405.9 kB / 1.256 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/1.313, allocations: 301.8 kB / 1.257 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/1.315, allocations: 1.179 MB / 1.258 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/1.317, allocations: 1.888 MB / 1.26 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/1.321, allocations: 3.369 MB / 1.263 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/1.321, allocations: 7.328 kB / 1.263 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008676/1.329, allocations: 4.583 MB / 1.267 GB, free: 156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/1.329, allocations: 13.98 kB / 1.267 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.944e-05/1.329, allocations: 23.06 kB / 1.267 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004726/1.334, allocations: 1.583 MB / 1.269 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.336, allocations: 355.6 kB / 1.269 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/1.358, allocations: 18.6 MB / 1.288 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/1.36, allocations: 119.6 kB / 1.288 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/1.361, allocations: 92.25 kB / 1.288 GB, free: 144.2 MB / 0.9981 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003547/1.364, allocations: 1.905 MB / 1.29 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006556/1.365, allocations: 224.5 kB / 1.29 GB, free: 143.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006575/1.371, allocations: 4.095 MB / 1.294 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/1.371, allocations: 17.88 kB / 1.294 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.439e-05/1.371, allocations: 16.5 kB / 1.294 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.371, allocations: 6.984 kB / 1.294 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.387, allocations: 9.472 MB / 1.303 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.387, allocations: 7.844 kB / 1.303 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/1.388, allocations: 183.2 kB / 1.303 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002983/1.391, allocations: 1.364 MB / 1.305 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.391, allocations: 35.84 kB / 1.305 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/1.408, allocations: 17.35 MB / 1.322 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.408, allocations: 11.59 kB / 1.322 GB, free: 123.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/1.414, allocations: 4.069 MB / 1.326 GB, free: 119.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.415, allocations: 0.5271 MB / 1.326 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/1.415, allocations: 41.62 kB / 1.326 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/1.416, allocations: 87.89 kB / 1.326 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/1.417, allocations: 161.7 kB / 1.326 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/1.417, allocations: 52 kB / 1.326 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001189/1.418, allocations: 1.005 MB / 1.327 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.418, allocations: 0 / 1.327 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00364/1.422, allocations: 0.9879 MB / 1.328 GB, free: 116.4 MB / 0.9981 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002546/1.422, allocations: 154 kB / 1.329 GB, free: 116.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007128/1.429, allocations: 5.192 MB / 1.334 GB, free: 111 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.429, allocations: 0 / 1.334 GB, free: 111 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003343/1.432, allocations: 2.667 MB / 1.336 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/1.436, allocations: 0.7839 MB / 1.337 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.45, allocations: 11.01 MB / 1.348 GB, free: 96.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/1.453, allocations: 3.576 MB / 1.351 GB, free: 92.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001545/1.455, allocations: 468.9 kB / 1.352 GB, free: 92.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/1.455, allocations: 119.4 kB / 1.352 GB, free: 92.34 MB / 0.9981 GB Notification: Performance of SimCode: time 1.563e-06/1.455, allocations: 0 / 1.352 GB, free: 92.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.06249/1.518, allocations: 44.21 MB / 1.395 GB, free: 48.64 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)