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.538/1.538, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001743/0.001743, allocations: 182 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009905/0.0009907, allocations: 84.97 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.547e-05, allocations: 8 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2444, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9222/1.167, allocations: 161.3 MB / 1.049 GB, free: 6.992 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/1.167, allocations: 98.05 kB / 1.049 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2312/1.398, allocations: 85.95 MB / 1.133 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.477e-06/1.399, allocations: 0 / 1.133 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002628/1.399, allocations: 59.98 kB / 1.133 GB, free: 7.145 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.00816/1.407, allocations: 2.116 MB / 1.136 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.197e-05/1.407, allocations: 8.031 kB / 1.136 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002201/1.409, allocations: 370.3 kB / 1.136 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/1.415, allocations: 0.7617 MB / 1.137 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004753/1.419, allocations: 1.539 MB / 1.138 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/1.42, allocations: 176.8 kB / 1.138 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/1.421, allocations: 232 kB / 1.139 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/1.433, allocations: 3.813 MB / 1.142 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/1.433, allocations: 7.938 kB / 1.142 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009441/1.434, allocations: 99.98 kB / 1.142 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002581/1.434, allocations: 156.5 kB / 1.142 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008835/1.443, allocations: 3.181 MB / 1.146 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02884/1.472, allocations: 16.49 MB / 1.162 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/1.476, allocations: 2.108 MB / 1.164 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000931/1.477, allocations: 0.582 MB / 1.164 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/1.477, allocations: 93.67 kB / 1.164 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/1.477, allocations: 51.11 kB / 1.164 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=72): time 5.34e-06/1.477, allocations: 0 / 1.164 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=76): time 0.004984/1.482, allocations: 2.571 MB / 1.167 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/1.482, allocations: 111.6 kB / 1.167 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/1.483, allocations: 0.8962 MB / 1.168 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/1.484, allocations: 37.7 kB / 1.168 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000731/1.484, allocations: 1.099 MB / 1.169 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/1.484, allocations: 276.2 kB / 1.169 GB, free: 344 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/1.485, allocations: 28 kB / 1.169 GB, free: 316 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002277/1.485, allocations: 414.7 kB / 1.17 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008571/1.486, allocations: 0.5896 MB / 1.17 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/1.487, allocations: 1.127 MB / 1.171 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/1.488, allocations: 0.8294 MB / 1.172 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.488, allocations: 7.938 kB / 1.172 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003082/1.491, allocations: 1.94 MB / 1.174 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/1.491, allocations: 16.19 kB / 1.174 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.491, allocations: 16 kB / 1.174 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/1.492, allocations: 163.3 kB / 1.174 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.493, allocations: 339.3 kB / 1.175 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.055e-05/1.493, allocations: 39.86 kB / 1.175 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.494, allocations: 143.6 kB / 1.175 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.494, allocations: 60 kB / 1.175 GB, free: 10.36 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 () * 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.0002298/1.494, allocations: 200.4 kB / 1.175 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/1.494, allocations: 110.7 kB / 1.175 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/1.497, allocations: 1.186 MB / 1.176 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.497, allocations: 12 kB / 1.176 GB, free: 8.82 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.497, allocations: 7.938 kB / 1.176 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.497, allocations: 3.984 kB / 1.176 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/1.503, allocations: 3.769 MB / 1.18 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.503, allocations: 4 kB / 1.18 GB, free: 4.883 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/1.503, allocations: 163.8 kB / 1.18 GB, free: 4.723 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/1.504, allocations: 143.5 kB / 1.18 GB, free: 4.57 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/1.504, allocations: 20 kB / 1.18 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/1.504, allocations: 4 kB / 1.18 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.504, allocations: 4 kB / 1.18 GB, free: 4.543 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/1.506, allocations: 1.549 MB / 1.182 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/1.507, allocations: 291.7 kB / 1.182 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.507, allocations: 23.98 kB / 1.182 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/1.507, allocations: 67.91 kB / 1.182 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/1.508, allocations: 64.38 kB / 1.182 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/1.508, allocations: 24 kB / 1.182 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0009943/1.509, allocations: 0.68 MB / 1.183 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.8e-07/1.509, allocations: 0 / 1.183 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001737/1.51, allocations: 420.1 kB / 1.183 GB, free: 1.293 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.002615/1.513, allocations: 2.817 MB / 1.186 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002363/1.515, allocations: 1.65 MB / 1.188 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.515, allocations: 3.938 kB / 1.188 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009299/1.516, allocations: 0.8385 MB / 1.189 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.518, allocations: 240.9 kB / 1.189 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007996/1.526, allocations: 3.661 MB / 1.192 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.528, allocations: 1.96 MB / 1.194 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00134/1.529, allocations: 433.3 kB / 1.195 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000957/1.53, allocations: 0.7141 MB / 1.195 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of SimCode: time 2.545e-06/1.53, allocations: 0 / 1.195 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05559/1.586, allocations: 27.57 MB / 1.222 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.586, allocations: 202.4 kB / 1.223 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/4.167, allocations: 2.812 kB / 1.223 GB, free: 9.074 MB / 0.8386 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)