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_RL_N.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.925/2.925, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001471/0.001471, allocations: 184.8 kB / 360.6 MB, free: 7.297 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.107/2.107, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001078/0.001078, allocations: 92.75 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.526e-05, allocations: 4 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8311, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3251/1.156, allocations: 195.5 MB / 1.154 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/1.157, allocations: 97.94 kB / 1.154 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.172/2.329, allocations: 112.7 MB / 1.264 GB, free: 198.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.737e-06/2.329, allocations: 0 / 1.264 GB, free: 198.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002773/2.33, allocations: 76.19 kB / 1.265 GB, free: 198.6 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01096/2.341, allocations: 2.682 MB / 1.267 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/2.341, allocations: 8.781 kB / 1.267 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006968/2.348, allocations: 0.6642 MB / 1.268 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008036/2.356, allocations: 2.06 MB / 1.27 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/2.356, allocations: 100.7 kB / 1.27 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/2.358, allocations: 179.5 kB / 1.27 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01627/2.374, allocations: 2.968 MB / 1.273 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02253/2.397, allocations: 4.118 MB / 1.277 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002555/2.397, allocations: 19.78 kB / 1.277 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/2.398, allocations: 6.562 kB / 1.277 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004838/2.399, allocations: 170.2 kB / 1.277 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05467/2.453, allocations: 20.99 MB / 1.298 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00479/2.458, allocations: 1.233 MB / 1.299 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003882/2.462, allocations: 0.9931 MB / 1.3 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/2.463, allocations: 12.95 kB / 1.3 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/2.463, allocations: 46.94 kB / 1.3 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 6.783e-06/2.463, allocations: 0 / 1.3 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.02603/2.489, allocations: 4.714 MB / 1.305 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/2.489, allocations: 66.75 kB / 1.305 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/2.492, allocations: 0.8277 MB / 1.305 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004217/2.493, allocations: 25.7 kB / 1.305 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00176/2.495, allocations: 1.305 MB / 1.307 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/2.496, allocations: 462.1 kB / 1.307 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/2.496, allocations: 0 / 1.307 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002477/2.496, allocations: 374.1 kB / 1.307 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003205/2.5, allocations: 0.8293 MB / 1.308 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003933/2.504, allocations: 1.285 MB / 1.31 GB, free: 179 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004302/2.508, allocations: 1.066 MB / 1.311 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.563e-05/2.508, allocations: 3.688 kB / 1.311 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01648/2.525, allocations: 3.171 MB / 1.314 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/2.525, allocations: 15.33 kB / 1.314 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.595e-05/2.525, allocations: 15.56 kB / 1.314 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008876/2.534, allocations: 1.079 MB / 1.315 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/2.537, allocations: 270 kB / 1.315 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03569/2.573, allocations: 12.04 MB / 1.327 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/2.575, allocations: 61.69 kB / 1.327 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/2.576, allocations: 66.25 kB / 1.327 GB, free: 170 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004405/2.576, allocations: 149.9 kB / 1.327 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008054/2.584, allocations: 2.803 MB / 1.33 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006945/2.585, allocations: 154.9 kB / 1.33 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008559/2.594, allocations: 2.945 MB / 1.333 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/2.594, allocations: 13.97 kB / 1.333 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-05/2.594, allocations: 13.69 kB / 1.333 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.983e-05/2.594, allocations: 7.641 kB / 1.333 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/2.61, allocations: 5.501 MB / 1.338 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/2.61, allocations: 9.469 kB / 1.338 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/2.611, allocations: 150.7 kB / 1.338 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004543/2.616, allocations: 1.011 MB / 1.339 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002465/2.616, allocations: 9.219 kB / 1.339 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/2.638, allocations: 11.72 MB / 1.351 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/2.638, allocations: 3.656 kB / 1.351 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007713/2.646, allocations: 3.196 MB / 1.354 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/2.647, allocations: 404.3 kB / 1.354 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004899/2.648, allocations: 11.38 kB / 1.354 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/2.649, allocations: 52.41 kB / 1.354 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/2.65, allocations: 131.9 kB / 1.355 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/2.65, allocations: 35.22 kB / 1.355 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001155/2.651, allocations: 0.616 MB / 1.355 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.242e-06/2.651, allocations: 0 / 1.355 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0037/2.655, allocations: 0.6006 MB / 1.356 GB, free: 155.9 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008375/2.663, allocations: 4.97 MB / 1.361 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007069/2.67, allocations: 2.884 MB / 1.363 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/2.671, allocations: 0 / 1.363 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004568/2.675, allocations: 1.82 MB / 1.365 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/2.679, allocations: 390.4 kB / 1.366 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/2.693, allocations: 4.97 MB / 1.37 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/2.697, allocations: 2.393 MB / 1.373 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001862/2.698, allocations: 334.9 kB / 1.373 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001954/2.7, allocations: 0.9914 MB / 1.374 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.292e-06/2.7, allocations: 0 / 1.374 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1373/2.838, allocations: 46.14 MB / 1.419 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/2.838, allocations: 169.8 kB / 1.419 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.871/6.709, allocations: 0 / 1.419 GB, free: 121.5 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)