Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.832/1.832, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001058/0.001058, allocations: 185 kB / 377.1 MB, free: 1.539 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.723/1.723, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.0009374/0.0009372, allocations: 100.8 kB / 0.7509 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004454, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3037, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8971/1.201, allocations: 168.6 MB / 1.153 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.201, allocations: 101.6 kB / 1.153 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2381/1.439, allocations: 86.35 MB / 1.238 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.008e-06/1.439, allocations: 0 / 1.238 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001497/1.44, allocations: 63.98 kB / 1.238 GB, free: 6.594 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006532/1.446, allocations: 2.234 MB / 1.24 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/1.446, allocations: 11.97 kB / 1.24 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008672/1.447, allocations: 384.4 kB / 1.24 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/1.452, allocations: 0.754 MB / 1.241 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004213/1.456, allocations: 1.547 MB / 1.242 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/1.456, allocations: 176.8 kB / 1.243 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000559/1.457, allocations: 240 kB / 1.243 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008955/1.466, allocations: 3.86 MB / 1.247 GB, free: 13.11 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.165e-05/1.466, allocations: 7.984 kB / 1.247 GB, free: 13.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/1.466, allocations: 104 kB / 1.247 GB, free: 13 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/1.466, allocations: 156.6 kB / 1.247 GB, free: 12.84 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006618/1.473, allocations: 3.266 MB / 1.25 GB, free: 9.562 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/1.499, allocations: 16.48 MB / 1.266 GB, free: 7.656 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/1.503, allocations: 2.144 MB / 1.268 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/1.503, allocations: 97.66 kB / 1.268 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/1.503, allocations: 51.05 kB / 1.268 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 4.509e-06/1.503, allocations: 0 / 1.268 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.007035/1.51, allocations: 3.45 MB / 1.272 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/1.51, allocations: 111.5 kB / 1.272 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/1.512, allocations: 0.9037 MB / 1.273 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/1.512, allocations: 37.7 kB / 1.273 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008024/1.513, allocations: 1.099 MB / 1.274 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/1.513, allocations: 272.2 kB / 1.274 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/1.513, allocations: 28 kB / 1.274 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002504/1.513, allocations: 410.7 kB / 1.274 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009686/1.514, allocations: 0.6167 MB / 1.275 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/1.516, allocations: 1.153 MB / 1.276 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.517, allocations: 0.8617 MB / 1.277 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/1.517, allocations: 4 kB / 1.277 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003471/1.521, allocations: 1.995 MB / 1.279 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/1.521, allocations: 19.95 kB / 1.279 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/1.521, allocations: 16 kB / 1.279 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/1.521, allocations: 171.8 kB / 1.279 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.522, allocations: 339.4 kB / 1.28 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.236e-05/1.522, allocations: 39.86 kB / 1.28 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.524, allocations: 139.6 kB / 1.28 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.524, allocations: 67.98 kB / 1.28 GB, free: 8.996 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002045/1.526, allocations: 0.9693 MB / 1.281 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/1.526, allocations: 106.8 kB / 1.281 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/1.528, allocations: 1.245 MB / 1.282 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.528, allocations: 8 kB / 1.282 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.528, allocations: 0 / 1.282 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/1.529, allocations: 11.92 kB / 1.282 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00656/1.535, allocations: 3.565 MB / 1.286 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.535, allocations: 7.953 kB / 1.286 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/1.536, allocations: 163.8 kB / 1.286 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/1.536, allocations: 143.3 kB / 1.286 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/1.536, allocations: 16.12 kB / 1.286 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/1.536, allocations: 8 kB / 1.286 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.536, allocations: 3.984 kB / 1.286 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/1.538, allocations: 1.604 MB / 1.287 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006421/1.539, allocations: 291.7 kB / 1.288 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.539, allocations: 16 kB / 1.288 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006088/1.54, allocations: 75.84 kB / 1.288 GB, free: 500 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.54, allocations: 64.38 kB / 1.288 GB, free: 436 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/1.54, allocations: 20 kB / 1.288 GB, free: 416 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001016/1.541, allocations: 0.6953 MB / 1.289 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.541, allocations: 0 / 1.289 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001859/1.543, allocations: 416.1 kB / 1.289 GB, free: 15.29 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003185/1.546, allocations: 2.862 MB / 1.292 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002779/1.549, allocations: 1.703 MB / 1.293 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.549, allocations: 0 / 1.293 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/1.55, allocations: 0.8792 MB / 1.294 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.552, allocations: 232.3 kB / 1.294 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/1.577, allocations: 21.92 MB / 1.316 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/1.579, allocations: 1.957 MB / 1.318 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001485/1.581, allocations: 457.3 kB / 1.318 GB, free: 380 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.582, allocations: 0.7141 MB / 1.319 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of SimCode: time 1.382e-06/1.582, allocations: 0 / 1.319 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/1.643, allocations: 27.02 MB / 1.345 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/1.644, allocations: 236.8 kB / 1.346 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/4.3, allocations: 0 / 1.346 GB, free: 4.648 MB / 0.9167 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)