Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.00155/0.001551, allocations: 181 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008982/0.0008982, allocations: 89.11 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004186, allocations: 11.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8169/1.083, allocations: 167.6 MB / 1.143 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004519/1.084, allocations: 108.2 kB / 1.143 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2073/1.291, allocations: 86.34 MB / 1.228 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.875e-06/1.291, allocations: 0 / 1.228 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002286/1.291, allocations: 55.98 kB / 1.228 GB, free: 3.984 MB / 0.7448 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.00771/1.299, allocations: 2.236 MB / 1.23 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.299, allocations: 12.03 kB / 1.23 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001801/1.301, allocations: 382.3 kB / 1.23 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005373/1.306, allocations: 0.7618 MB / 1.231 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005813/1.312, allocations: 1.543 MB / 1.232 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/1.312, allocations: 188.7 kB / 1.233 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/1.314, allocations: 228 kB / 1.233 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/1.325, allocations: 3.87 MB / 1.237 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-05/1.325, allocations: 3.938 kB / 1.237 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/1.326, allocations: 104 kB / 1.237 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/1.326, allocations: 160.5 kB / 1.237 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006871/1.333, allocations: 3.27 MB / 1.24 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/1.36, allocations: 16.49 MB / 1.256 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003815/1.364, allocations: 2.135 MB / 1.258 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/1.364, allocations: 97.59 kB / 1.258 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/1.364, allocations: 47.11 kB / 1.258 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=72): time 3.897e-06/1.364, allocations: 4 kB / 1.258 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of matching and sorting (n=76): time 0.007971/1.372, allocations: 3.45 MB / 1.262 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/1.372, allocations: 111.5 kB / 1.262 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/1.374, allocations: 0.9076 MB / 1.263 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/1.374, allocations: 33.7 kB / 1.263 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008181/1.375, allocations: 1.103 MB / 1.264 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/1.375, allocations: 264.2 kB / 1.264 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.361e-05/1.375, allocations: 32 kB / 1.264 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002521/1.375, allocations: 418.7 kB / 1.265 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.376, allocations: 0.6206 MB / 1.265 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/1.378, allocations: 1.15 MB / 1.266 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/1.38, allocations: 0.854 MB / 1.267 GB, free: 9.168 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/1.38, allocations: 4 kB / 1.267 GB, free: 9.164 MB / 0.7917 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003562/1.384, allocations: 1.999 MB / 1.269 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/1.384, allocations: 15.95 kB / 1.269 GB, free: 7.129 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/1.384, allocations: 20 kB / 1.269 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/1.384, allocations: 163.8 kB / 1.269 GB, free: 6.938 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.385, allocations: 339.4 kB / 1.27 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.784e-05/1.385, allocations: 35.86 kB / 1.27 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.387, allocations: 143.6 kB / 1.27 GB, free: 6.43 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.387, allocations: 67.92 kB / 1.27 GB, free: 6.363 MB / 0.7917 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.00186/1.389, allocations: 0.971 MB / 1.271 GB, free: 5.383 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/1.389, allocations: 118.8 kB / 1.271 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/1.391, allocations: 1.234 MB / 1.272 GB, free: 4.004 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.391, allocations: 11.94 kB / 1.272 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.391, allocations: 4 kB / 1.272 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.391, allocations: 7.938 kB / 1.272 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007213/1.398, allocations: 3.569 MB / 1.276 GB, free: 320 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.398, allocations: 8.031 kB / 1.276 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/1.399, allocations: 159.8 kB / 1.276 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004092/1.4, allocations: 139.3 kB / 1.276 GB, free: 0 / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/1.4, allocations: 20.08 kB / 1.276 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.4, allocations: 7.938 kB / 1.276 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/1.4, allocations: 11.98 kB / 1.276 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/1.402, allocations: 1.6 MB / 1.278 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/1.403, allocations: 295.6 kB / 1.278 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/1.403, allocations: 20 kB / 1.278 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/1.404, allocations: 67.91 kB / 1.278 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/1.404, allocations: 64.44 kB / 1.278 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/1.404, allocations: 23.98 kB / 1.278 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0011/1.405, allocations: 0.6875 MB / 1.279 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.81e-07/1.405, allocations: 0 / 1.279 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001768/1.407, allocations: 412 kB / 1.279 GB, free: 12.66 MB / 0.8073 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.00291/1.41, allocations: 2.862 MB / 1.282 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002613/1.412, allocations: 1.719 MB / 1.283 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.412, allocations: 0 / 1.283 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.413, allocations: 0.8658 MB / 1.284 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.415, allocations: 246.5 kB / 1.285 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/1.438, allocations: 21.91 MB / 1.306 GB, free: 184 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002836/1.441, allocations: 1.961 MB / 1.308 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001393/1.442, allocations: 445.3 kB / 1.308 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/1.444, allocations: 0.718 MB / 1.309 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.304e-06/1.444, allocations: 4 kB / 1.309 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05482/1.498, allocations: 27.03 MB / 1.335 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/1.499, allocations: 237.7 kB / 1.336 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/4.049, allocations: 2.953 kB / 1.336 GB, free: 2.043 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)