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.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001118/0.001118, allocations: 181.1 kB / 377.1 MB, free: 1.504 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.877/1.877, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.0009621/0.000962, allocations: 93.03 kB / 0.7509 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004596, allocations: 16 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2613, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7168/0.9782, allocations: 181.3 MB / 1.166 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.9785, allocations: 101.8 kB / 1.166 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.272/1.251, allocations: 112.3 MB / 1.275 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.817e-06/1.251, allocations: 0 / 1.275 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001454/1.251, allocations: 71.92 kB / 1.275 GB, free: 15.68 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.00809/1.259, allocations: 2.52 MB / 1.278 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.259, allocations: 12.02 kB / 1.278 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001916/1.261, allocations: 441.8 kB / 1.278 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/1.265, allocations: 0.7049 MB / 1.279 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005057/1.271, allocations: 1.609 MB / 1.281 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/1.271, allocations: 221.2 kB / 1.281 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/1.272, allocations: 280 kB / 1.281 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/1.283, allocations: 4.61 MB / 1.285 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.728e-05/1.283, allocations: 7.938 kB / 1.285 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/1.283, allocations: 120 kB / 1.286 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/1.283, allocations: 180.7 kB / 1.286 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007626/1.291, allocations: 3.756 MB / 1.289 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03367/1.325, allocations: 23.05 MB / 1.312 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/1.328, allocations: 1.582 MB / 1.313 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/1.328, allocations: 93.72 kB / 1.314 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.328, allocations: 47.12 kB / 1.314 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 5.551e-06/1.328, allocations: 3.938 kB / 1.314 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.007789/1.336, allocations: 3.549 MB / 1.317 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/1.336, allocations: 141 kB / 1.317 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.338, allocations: 0.9339 MB / 1.318 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/1.338, allocations: 37.7 kB / 1.318 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008151/1.339, allocations: 1.193 MB / 1.319 GB, free: 20 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/1.339, allocations: 268.2 kB / 1.32 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/1.339, allocations: 24 kB / 1.32 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002411/1.34, allocations: 414.7 kB / 1.32 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.341, allocations: 0.7833 MB / 1.321 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/1.343, allocations: 1.275 MB / 1.322 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/1.344, allocations: 0.9945 MB / 1.323 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.344, allocations: 4.094 kB / 1.323 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003484/1.348, allocations: 2.164 MB / 1.325 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002062/1.35, allocations: 5.496 MB / 1.33 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/1.35, allocations: 12 kB / 1.33 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-05/1.35, allocations: 24 kB / 1.331 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/1.352, allocations: 407.3 kB / 1.331 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.207e-05/1.352, allocations: 31.86 kB / 1.331 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/1.354, allocations: 259.3 kB / 1.331 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/1.354, allocations: 63.98 kB / 1.331 GB, free: 3.156 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.354, allocations: 4 kB / 1.331 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002778/1.357, allocations: 1.745 MB / 1.333 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/1.357, allocations: 16 kB / 1.333 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.357, allocations: 20 kB / 1.333 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.358, allocations: 367.8 kB / 1.333 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.034e-05/1.358, allocations: 31.86 kB / 1.333 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.359, allocations: 183.3 kB / 1.334 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.36, allocations: 55.98 kB / 1.334 GB, free: 0.75 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 () * Number of clocked 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.00231/1.362, allocations: 1.172 MB / 1.335 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/1.362, allocations: 102.8 kB / 1.335 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/1.365, allocations: 1.514 MB / 1.336 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.365, allocations: 8 kB / 1.336 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.365, allocations: 0 / 1.336 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/1.365, allocations: 11.94 kB / 1.336 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/1.378, allocations: 7.259 MB / 1.343 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/1.378, allocations: 11.94 kB / 1.343 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.379, allocations: 268.3 kB / 1.344 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/1.379, allocations: 12 kB / 1.344 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/1.379, allocations: 24 kB / 1.344 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.72e-05/1.379, allocations: 19.92 kB / 1.344 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.379, allocations: 11.94 kB / 1.344 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/1.382, allocations: 2.425 MB / 1.346 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.383, allocations: 371.6 kB / 1.346 GB, free: 2.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/1.383, allocations: 35.98 kB / 1.347 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.384, allocations: 131.8 kB / 1.347 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/1.385, allocations: 79.72 kB / 1.347 GB, free: 2.703 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/1.385, allocations: 28 kB / 1.347 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001245/1.386, allocations: 0.7064 MB / 1.347 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.5e-07/1.386, allocations: 0 / 1.347 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004212/1.39, allocations: 0.8359 MB / 1.348 GB, free: 1.121 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 () * Number of clocked 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.004174/1.394, allocations: 5.559 MB / 1.354 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004067/1.398, allocations: 2.641 MB / 1.356 GB, free: 8.652 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.398, allocations: 3.938 kB / 1.356 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.399, allocations: 0.74 MB / 1.357 GB, free: 7.91 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.401, allocations: 260 kB / 1.357 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4285/1.829, allocations: 20.31 MB / 1.377 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/1.832, allocations: 2.167 MB / 1.379 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002086/1.834, allocations: 0.7346 MB / 1.38 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.835, allocations: 0.8148 MB / 1.381 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.433e-06/1.835, allocations: 3.125 kB / 1.381 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06135/1.896, allocations: 30.19 MB / 1.41 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.897, allocations: 202.9 kB / 1.41 GB, free: 198 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/4.453, allocations: 5.562 kB / 1.41 GB, free: 198 MB / 0.9323 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)