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.Impedances.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.Impedances,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 249.5 MB / 257 MB, free: 6.875 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.001057/0.001057, allocations: 184.9 kB / 316.3 MB, free: 3.191 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.585/1.585, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009036/0.0009036, allocations: 86.42 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.753e-05, allocations: 0 / 0.7815 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1813, allocations: 106.3 MB / 0.8853 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6635/0.8448, allocations: 161.5 MB / 1.043 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.8452, allocations: 92.56 kB / 1.043 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1935/1.039, allocations: 85.61 MB / 1.127 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.813e-06/1.039, allocations: 0 / 1.127 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001147/1.039, allocations: 59.98 kB / 1.127 GB, free: 13.96 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.005084/1.044, allocations: 2.108 MB / 1.129 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.044, allocations: 12.03 kB / 1.129 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/1.048, allocations: 0.754 MB / 1.13 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/1.052, allocations: 1.539 MB / 1.131 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.55e-05/1.052, allocations: 76 kB / 1.131 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000584/1.053, allocations: 136 kB / 1.131 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005291/1.058, allocations: 2.688 MB / 1.134 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/1.064, allocations: 3.468 MB / 1.137 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/1.064, allocations: 7.938 kB / 1.137 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/1.064, allocations: 4 kB / 1.137 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/1.064, allocations: 164.6 kB / 1.138 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/1.081, allocations: 15.81 MB / 1.153 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/1.084, allocations: 2.08 MB / 1.155 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008397/1.084, allocations: 0.563 MB / 1.156 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/1.085, allocations: 97.66 kB / 1.156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.085, allocations: 43.12 kB / 1.156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=72): time 3.066e-06/1.085, allocations: 0 / 1.156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=76): time 0.004511/1.089, allocations: 2.593 MB / 1.158 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/1.089, allocations: 115.6 kB / 1.158 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.09, allocations: 0.8285 MB / 1.159 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/1.09, allocations: 25.7 kB / 1.159 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/1.091, allocations: 1.095 MB / 1.16 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/1.091, allocations: 260.2 kB / 1.16 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/1.091, allocations: 4 kB / 1.16 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.092, allocations: 410.7 kB / 1.161 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007241/1.092, allocations: 0.5583 MB / 1.161 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.093, allocations: 1.088 MB / 1.162 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/1.095, allocations: 0.9371 MB / 1.163 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/1.095, allocations: 11.95 kB / 1.163 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003178/1.098, allocations: 1.912 MB / 1.165 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.098, allocations: 12 kB / 1.165 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/1.098, allocations: 24.64 kB / 1.165 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/1.099, allocations: 167.3 kB / 1.165 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.1, allocations: 343.4 kB / 1.166 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/1.1, allocations: 35.86 kB / 1.166 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009791/1.101, allocations: 115.6 kB / 1.166 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.101, allocations: 60 kB / 1.166 GB, free: 3.578 MB / 0.7761 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 () * 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.0002055/1.101, allocations: 164.4 kB / 1.166 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001771/1.103, allocations: 1.115 MB / 1.167 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/1.103, allocations: 106.7 kB / 1.167 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/1.105, allocations: 1.193 MB / 1.168 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.105, allocations: 8 kB / 1.168 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.105, allocations: 4 kB / 1.168 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/1.105, allocations: 3.984 kB / 1.169 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/1.11, allocations: 3.19 MB / 1.172 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.11, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/1.111, allocations: 164 kB / 1.172 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/1.111, allocations: 139.3 kB / 1.172 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/1.111, allocations: 7.938 kB / 1.172 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.111, allocations: 11.94 kB / 1.172 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.111, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/1.113, allocations: 1.555 MB / 1.173 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/1.113, allocations: 287.7 kB / 1.174 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.114, allocations: 4 kB / 1.174 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/1.114, allocations: 59.89 kB / 1.174 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/1.114, allocations: 64.44 kB / 1.174 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/1.114, allocations: 24 kB / 1.174 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0008106/1.115, allocations: 0.6205 MB / 1.174 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.21e-07/1.115, allocations: 0 / 1.174 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001434/1.117, allocations: 376.1 kB / 1.175 GB, free: 10.16 MB / 0.7917 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 () * 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.002503/1.119, allocations: 2.797 MB / 1.178 GB, free: 7.262 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00198/1.121, allocations: 1.58 MB / 1.179 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.121, allocations: 0 / 1.179 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007713/1.122, allocations: 0.8275 MB / 1.18 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.123, allocations: 212.6 kB / 1.18 GB, free: 4.477 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006437/1.129, allocations: 3.59 MB / 1.184 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/1.131, allocations: 1.961 MB / 1.186 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0011/1.132, allocations: 433.1 kB / 1.186 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008233/1.133, allocations: 0.718 MB / 1.187 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of SimCode: time 6.02e-07/1.133, allocations: 0 / 1.187 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04989/1.183, allocations: 26.22 MB / 1.212 GB, free: 3.574 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.183, allocations: 173.1 kB / 1.212 GB, free: 3.383 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/3.453, allocations: 1.875 kB / 1.212 GB, free: 3.383 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)