Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 249.3 MB / 261.8 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 188.8 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.2 MB / 0.572 GB, free: 10.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000919/0.0009193, allocations: 93.38 kB / 0.6764 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.859e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2531, allocations: 106.3 MB / 0.8919 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9816/1.235, allocations: 174 MB / 1.062 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004121/1.235, allocations: 96.69 kB / 1.062 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.29/1.525, allocations: 111.8 MB / 1.171 GB, free: 500 kB / 0.7761 GB Notification: Performance of FrontEnd: time 3.236e-06/1.525, allocations: 0 / 1.171 GB, free: 500 kB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001612/1.526, allocations: 67.98 kB / 1.171 GB, free: 432 kB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.008965/1.535, allocations: 2.419 MB / 1.174 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/1.535, allocations: 8.031 kB / 1.174 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001449/1.536, allocations: 453.8 kB / 1.174 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004524/1.541, allocations: 0.6913 MB / 1.175 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/1.545, allocations: 1.609 MB / 1.176 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/1.545, allocations: 213.8 kB / 1.176 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006813/1.546, allocations: 288 kB / 1.177 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/1.556, allocations: 4.541 MB / 1.181 GB, free: 5.914 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.553e-05/1.556, allocations: 11.84 kB / 1.181 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000357/1.556, allocations: 120 kB / 1.181 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/1.557, allocations: 176.7 kB / 1.181 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007654/1.564, allocations: 3.663 MB / 1.185 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03713/1.601, allocations: 23.06 MB / 1.207 GB, free: 8.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00377/1.605, allocations: 1.551 MB / 1.209 GB, free: 7.141 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/1.607, allocations: 0.8257 MB / 1.21 GB, free: 6.305 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/1.607, allocations: 105.7 kB / 1.21 GB, free: 6.184 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.085e-05/1.607, allocations: 43.06 kB / 1.21 GB, free: 6.129 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 4.288e-06/1.607, allocations: 0 / 1.21 GB, free: 6.129 MB / 0.823 GB Notification: Performance of matching and sorting (n=75): time 0.009097/1.616, allocations: 2.9 MB / 1.213 GB, free: 3.195 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.617, allocations: 145.3 kB / 1.213 GB, free: 3.023 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.619, allocations: 0.9223 MB / 1.214 GB, free: 2.098 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/1.619, allocations: 41.7 kB / 1.214 GB, free: 2.051 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/1.62, allocations: 1.196 MB / 1.215 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004767/1.621, allocations: 268.2 kB / 1.215 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.621, allocations: 24 kB / 1.215 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003308/1.621, allocations: 406.7 kB / 1.216 GB, free: 144 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/1.622, allocations: 0.7601 MB / 1.216 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/1.624, allocations: 1.252 MB / 1.218 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/1.626, allocations: 0.9662 MB / 1.219 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.626, allocations: 4 kB / 1.219 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003464/1.629, allocations: 2.092 MB / 1.221 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002925/1.632, allocations: 5.499 MB / 1.226 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/1.632, allocations: 12 kB / 1.226 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.937e-05/1.632, allocations: 24.09 kB / 1.226 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/1.634, allocations: 419.2 kB / 1.226 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.87e-05/1.634, allocations: 27.92 kB / 1.226 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.636, allocations: 263.1 kB / 1.227 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/1.636, allocations: 63.98 kB / 1.227 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.636, allocations: 4 kB / 1.227 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003172/1.64, allocations: 1.693 MB / 1.228 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.943e-05/1.64, allocations: 15.95 kB / 1.228 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.221e-05/1.64, allocations: 24 kB / 1.228 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.641, allocations: 367.9 kB / 1.229 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.521e-05/1.641, allocations: 35.86 kB / 1.229 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/1.643, allocations: 171.4 kB / 1.229 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.643, allocations: 59.98 kB / 1.229 GB, free: 1.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004668/1.643, allocations: 180.5 kB / 1.229 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/1.644, allocations: 98.78 kB / 1.229 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/1.647, allocations: 1.467 MB / 1.231 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/1.647, allocations: 8 kB / 1.231 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/1.647, allocations: 12 kB / 1.231 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/1.647, allocations: 3.984 kB / 1.231 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.662, allocations: 7.226 MB / 1.238 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/1.662, allocations: 8 kB / 1.238 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.663, allocations: 267.5 kB / 1.238 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.873e-05/1.663, allocations: 16 kB / 1.238 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.664, allocations: 24 kB / 1.238 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-05/1.664, allocations: 15.94 kB / 1.238 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.91e-05/1.664, allocations: 15.92 kB / 1.238 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/1.667, allocations: 2.379 MB / 1.241 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.668, allocations: 379.5 kB / 1.241 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004391/1.669, allocations: 28 kB / 1.241 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.67, allocations: 135.7 kB / 1.241 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/1.67, allocations: 79.75 kB / 1.241 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/1.67, allocations: 32 kB / 1.241 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001621/1.672, allocations: 0.6989 MB / 1.242 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.61e-07/1.672, allocations: 0 / 1.242 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00357/1.675, allocations: 0.8203 MB / 1.243 GB, free: 3.266 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004749/1.68, allocations: 5.514 MB / 1.248 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004563/1.685, allocations: 2.585 MB / 1.251 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/1.685, allocations: 4.375 kB / 1.251 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/1.686, allocations: 0.7197 MB / 1.251 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.688, allocations: 260 kB / 1.252 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.701, allocations: 4.592 MB / 1.256 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002682/1.703, allocations: 2.172 MB / 1.258 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002485/1.706, allocations: 0.7812 MB / 1.259 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.707, allocations: 0.8078 MB / 1.26 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of SimCode: time 3.727e-06/1.707, allocations: 0 / 1.26 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6558/2.363, allocations: 31.59 MB / 1.291 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/2.363, allocations: 185.2 kB / 1.291 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/5.116, allocations: 2.031 kB / 1.291 GB, free: 248.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)