Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001216/0.001217, allocations: 176.2 kB / 371.6 MB, free: 3.41 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.836/1.836, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009797/0.0009797, allocations: 90.36 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.229e-05/5.241e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3164, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.365, allocations: 181.2 MB / 1.157 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/1.365, allocations: 96.66 kB / 1.157 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2827/1.648, allocations: 111.8 MB / 1.266 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.648, allocations: 0 / 1.266 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002148/1.648, allocations: 71.92 kB / 1.266 GB, free: 13.09 MB / 0.8386 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.009456/1.658, allocations: 2.42 MB / 1.269 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/1.658, allocations: 12.03 kB / 1.269 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002307/1.66, allocations: 445.8 kB / 1.269 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005085/1.665, allocations: 0.6929 MB / 1.27 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/1.67, allocations: 1.608 MB / 1.271 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/1.671, allocations: 217.8 kB / 1.271 GB, free: 7.594 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/1.672, allocations: 287.9 kB / 1.272 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/1.688, allocations: 4.533 MB / 1.276 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/1.688, allocations: 7.938 kB / 1.276 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001377/1.689, allocations: 124 kB / 1.276 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000294/1.69, allocations: 184.7 kB / 1.276 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009427/1.699, allocations: 3.655 MB / 1.28 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03338/1.732, allocations: 23.07 MB / 1.303 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002816/1.735, allocations: 1.548 MB / 1.304 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/1.736, allocations: 0.8249 MB / 1.305 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/1.737, allocations: 97.73 kB / 1.305 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/1.737, allocations: 51.05 kB / 1.305 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 3.436e-06/1.737, allocations: 0 / 1.305 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75): time 0.005018/1.742, allocations: 2.904 MB / 1.308 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.742, allocations: 137.1 kB / 1.308 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/1.743, allocations: 0.9223 MB / 1.309 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/1.743, allocations: 45.98 kB / 1.309 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007902/1.744, allocations: 1.192 MB / 1.31 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/1.744, allocations: 268.2 kB / 1.31 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/1.745, allocations: 24 kB / 1.31 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000237/1.745, allocations: 410.7 kB / 1.311 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/1.746, allocations: 0.7638 MB / 1.312 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/1.747, allocations: 1.248 MB / 1.313 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/1.749, allocations: 0.9661 MB / 1.314 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.749, allocations: 4 kB / 1.314 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003287/1.752, allocations: 2.104 MB / 1.316 GB, free: 7.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002547/1.755, allocations: 5.493 MB / 1.321 GB, free: 1.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/1.755, allocations: 19.94 kB / 1.321 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.977e-05/1.755, allocations: 20 kB / 1.321 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/1.756, allocations: 415.2 kB / 1.322 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.86e-05/1.757, allocations: 31.94 kB / 1.322 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.758, allocations: 259.2 kB / 1.322 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.758, allocations: 59.98 kB / 1.322 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.758, allocations: 4 kB / 1.322 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002674/1.761, allocations: 1.694 MB / 1.324 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.761, allocations: 16 kB / 1.324 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/1.761, allocations: 23.95 kB / 1.324 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.762, allocations: 363.4 kB / 1.324 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.017e-05/1.762, allocations: 31.86 kB / 1.324 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.764, allocations: 179.5 kB / 1.324 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.764, allocations: 55.98 kB / 1.324 GB, free: 14.44 MB / 0.9011 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.0003109/1.764, allocations: 180.5 kB / 1.324 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/1.764, allocations: 98.78 kB / 1.324 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/1.767, allocations: 1.475 MB / 1.326 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/1.767, allocations: 11.95 kB / 1.326 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.767, allocations: 0 / 1.326 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.767, allocations: 7.984 kB / 1.326 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/1.778, allocations: 7.223 MB / 1.333 GB, free: 5.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/1.778, allocations: 8 kB / 1.333 GB, free: 5.203 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.779, allocations: 260.1 kB / 1.333 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-05/1.779, allocations: 19.94 kB / 1.333 GB, free: 4.93 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/1.779, allocations: 24 kB / 1.333 GB, free: 4.906 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.035e-05/1.779, allocations: 16 kB / 1.333 GB, free: 4.891 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/1.779, allocations: 11.94 kB / 1.333 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/1.782, allocations: 2.391 MB / 1.336 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007374/1.783, allocations: 379.5 kB / 1.336 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/1.783, allocations: 24 kB / 1.336 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008865/1.784, allocations: 135.8 kB / 1.336 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.784, allocations: 71.78 kB / 1.336 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/1.784, allocations: 35.92 kB / 1.336 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001041/1.785, allocations: 0.6989 MB / 1.337 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/1.785, allocations: 0 / 1.337 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002929/1.788, allocations: 0.8243 MB / 1.338 GB, free: 15.95 MB / 0.9167 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.004099/1.792, allocations: 5.524 MB / 1.343 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004063/1.796, allocations: 2.583 MB / 1.346 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.796, allocations: 1.938 kB / 1.346 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.797, allocations: 0.7188 MB / 1.346 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/1.799, allocations: 269 kB / 1.347 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.809, allocations: 4.582 MB / 1.351 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/1.812, allocations: 2.168 MB / 1.353 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002179/1.814, allocations: 0.7851 MB / 1.354 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.815, allocations: 0.8078 MB / 1.355 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of SimCode: time 9.12e-07/1.815, allocations: 0 / 1.355 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7383/2.553, allocations: 31.58 MB / 1.386 GB, free: 214.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/2.553, allocations: 175.8 kB / 1.386 GB, free: 214.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/5.549, allocations: 0 / 1.386 GB, free: 214.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)