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.401/1.401, allocations: 249.5 MB / 257 MB, free: 6.895 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.0009835/0.0009836, allocations: 180.5 kB / 316.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008528/0.0008528, allocations: 101.4 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.072e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2265, allocations: 106.4 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8323/1.059, allocations: 174.3 MB / 1.056 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/1.059, allocations: 105.5 kB / 1.056 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2674/1.327, allocations: 111.3 MB / 1.164 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.134e-06/1.327, allocations: 0 / 1.164 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002442/1.327, allocations: 71.92 kB / 1.164 GB, free: 7.285 MB / 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.01076/1.338, allocations: 2.419 MB / 1.167 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.338, allocations: 12.03 kB / 1.167 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005275/1.343, allocations: 0.6913 MB / 1.167 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005203/1.348, allocations: 1.62 MB / 1.169 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/1.349, allocations: 92 kB / 1.169 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/1.35, allocations: 164 kB / 1.169 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009028/1.359, allocations: 3.206 MB / 1.172 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/1.372, allocations: 4.127 MB / 1.176 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/1.372, allocations: 11.84 kB / 1.176 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/1.373, allocations: 8 kB / 1.176 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/1.374, allocations: 176.7 kB / 1.177 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0301/1.404, allocations: 22.13 MB / 1.198 GB, free: 2.219 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/1.406, allocations: 1.526 MB / 1.2 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/1.408, allocations: 1.007 MB / 1.201 GB, free: 15.63 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/1.408, allocations: 93.58 kB / 1.201 GB, free: 15.53 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/1.408, allocations: 47.11 kB / 1.201 GB, free: 15.47 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/1.408, allocations: 4 kB / 1.201 GB, free: 15.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=75): time 0.00452/1.413, allocations: 2.908 MB / 1.204 GB, free: 12.52 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/1.413, allocations: 137.1 kB / 1.204 GB, free: 12.36 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/1.414, allocations: 0.8121 MB / 1.205 GB, free: 11.54 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/1.414, allocations: 33.64 kB / 1.205 GB, free: 11.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/1.415, allocations: 1.2 MB / 1.206 GB, free: 10.28 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/1.415, allocations: 260.5 kB / 1.206 GB, free: 10.02 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/1.415, allocations: 4 kB / 1.206 GB, free: 10.02 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001922/1.415, allocations: 398.7 kB / 1.206 GB, free: 9.617 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000943/1.416, allocations: 0.7483 MB / 1.207 GB, free: 8.867 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/1.418, allocations: 1.226 MB / 1.208 GB, free: 7.414 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/1.419, allocations: 1.058 MB / 1.209 GB, free: 6.355 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.419, allocations: 7.938 kB / 1.209 GB, free: 6.348 MB / 0.823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003111/1.422, allocations: 2.089 MB / 1.211 GB, free: 4.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002034/1.424, allocations: 5.491 MB / 1.217 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/1.424, allocations: 16 kB / 1.217 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.252e-05/1.424, allocations: 24 kB / 1.217 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/1.426, allocations: 411.3 kB / 1.217 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.607e-05/1.426, allocations: 31.86 kB / 1.217 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.428, allocations: 243.2 kB / 1.218 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.428, allocations: 59.98 kB / 1.218 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.428, allocations: 4 kB / 1.218 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002509/1.43, allocations: 1.658 MB / 1.219 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.43, allocations: 17 kB / 1.219 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.43, allocations: 20 kB / 1.219 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.432, allocations: 371.5 kB / 1.22 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/1.432, allocations: 31.83 kB / 1.22 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.433, allocations: 147.6 kB / 1.22 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/1.433, allocations: 59.94 kB / 1.22 GB, free: 11.27 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.000254/1.433, allocations: 148.5 kB / 1.22 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002107/1.435, allocations: 1.415 MB / 1.221 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.435, allocations: 94.81 kB / 1.221 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/1.438, allocations: 1.487 MB / 1.223 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.438, allocations: 12 kB / 1.223 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/1.438, allocations: 0 / 1.223 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.438, allocations: 3.984 kB / 1.223 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009604/1.447, allocations: 6.507 MB / 1.229 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.447, allocations: 8 kB / 1.229 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.448, allocations: 263.5 kB / 1.23 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.092e-05/1.449, allocations: 12 kB / 1.23 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/1.449, allocations: 16 kB / 1.23 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.716e-05/1.449, allocations: 19.92 kB / 1.23 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/1.449, allocations: 12.09 kB / 1.23 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/1.452, allocations: 2.404 MB / 1.232 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006361/1.452, allocations: 371.6 kB / 1.232 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.452, allocations: 12 kB / 1.232 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009958/1.453, allocations: 127.7 kB / 1.232 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.454, allocations: 79.75 kB / 1.232 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/1.454, allocations: 31.94 kB / 1.233 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000892/1.455, allocations: 0.6006 MB / 1.233 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.455, allocations: 0 / 1.233 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003046/1.458, allocations: 0.7578 MB / 1.234 GB, free: 12.32 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.004168/1.462, allocations: 5.532 MB / 1.239 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00363/1.465, allocations: 2.523 MB / 1.242 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.466, allocations: 0 / 1.242 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009213/1.466, allocations: 0.7023 MB / 1.242 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.468, allocations: 256 kB / 1.243 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/1.477, allocations: 4.523 MB / 1.247 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/1.479, allocations: 2.165 MB / 1.249 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002038/1.481, allocations: 0.7689 MB / 1.25 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.482, allocations: 0.8 MB / 1.251 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/1.482, allocations: 4 kB / 1.251 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.533/2.015, allocations: 29.93 MB / 1.28 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/2.015, allocations: 170.4 kB / 1.28 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/4.326, allocations: 8.375 kB / 1.28 GB, free: 252.6 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)