Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.679/2.679, allocations: 287.3 MB / 302.3 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.001541/0.001541, allocations: 181.5 kB / 370.8 MB, free: 10.84 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.228/2.228, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001112/0.001112, allocations: 90.86 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005066/0.0005065, allocations: 11.5 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2252, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.303, allocations: 168.3 MB / 1.143 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000476/1.303, allocations: 91.22 kB / 1.143 GB, free: 11.87 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.07871/1.382, allocations: 17.99 MB / 1.16 GB, free: 16.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.382, allocations: 0 / 1.16 GB, free: 16.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.353e-05/1.382, allocations: 8 kB / 1.16 GB, free: 16.11 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001121/1.383, allocations: 0.5478 MB / 1.161 GB, free: 15.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.383, allocations: 16 kB / 1.161 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.516e-05/1.384, allocations: 60.8 kB / 1.161 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/1.385, allocations: 107.5 kB / 1.161 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/1.385, allocations: 263.9 kB / 1.161 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/1.385, allocations: 11.56 kB / 1.161 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/1.385, allocations: 19.62 kB / 1.161 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/1.386, allocations: 348.9 kB / 1.162 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.386, allocations: 0 / 1.162 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/1.386, allocations: 7.188 kB / 1.162 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/1.386, allocations: 23.92 kB / 1.162 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007568/1.387, allocations: 285 kB / 1.162 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/1.39, allocations: 1.754 MB / 1.164 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/1.391, allocations: 323.6 kB / 1.164 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/1.391, allocations: 85.11 kB / 1.164 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/1.391, allocations: 34.12 kB / 1.164 GB, free: 12.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.206e-06/1.391, allocations: 0 / 1.164 GB, free: 12.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.004148/1.396, allocations: 0.9824 MB / 1.165 GB, free: 11.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/1.396, allocations: 81.33 kB / 1.165 GB, free: 11.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/1.396, allocations: 196.7 kB / 1.165 GB, free: 11.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/1.396, allocations: 25.7 kB / 1.165 GB, free: 11.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/1.396, allocations: 177.1 kB / 1.166 GB, free: 11.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/1.396, allocations: 80.72 kB / 1.166 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/1.396, allocations: 3.562 kB / 1.166 GB, free: 11.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.397, allocations: 332 kB / 1.166 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/1.397, allocations: 128.5 kB / 1.166 GB, free: 10.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/1.397, allocations: 211.2 kB / 1.166 GB, free: 10.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/1.398, allocations: 169.5 kB / 1.166 GB, free: 10.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.398, allocations: 0 / 1.166 GB, free: 10.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001474/1.399, allocations: 0.499 MB / 1.167 GB, free: 9.996 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.399, allocations: 8 kB / 1.167 GB, free: 9.988 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.399, allocations: 4 kB / 1.167 GB, free: 9.984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008209/1.4, allocations: 151.8 kB / 1.167 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/1.401, allocations: 63.84 kB / 1.167 GB, free: 9.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/1.405, allocations: 3.989 MB / 1.171 GB, free: 5.727 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/1.405, allocations: 14.98 kB / 1.171 GB, free: 5.715 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/1.405, allocations: 23.59 kB / 1.171 GB, free: 5.695 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002841/1.406, allocations: 166.5 kB / 1.171 GB, free: 5.543 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/1.406, allocations: 19.81 kB / 1.171 GB, free: 5.523 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/1.407, allocations: 474.2 kB / 1.172 GB, free: 5.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.407, allocations: 8 kB / 1.172 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.407, allocations: 0 / 1.172 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.407, allocations: 0 / 1.172 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/1.41, allocations: 1.007 MB / 1.173 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.41, allocations: 0 / 1.173 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/1.41, allocations: 31.98 kB / 1.173 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007467/1.411, allocations: 152.6 kB / 1.173 GB, free: 4.113 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/1.411, allocations: 7.875 kB / 1.173 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/1.415, allocations: 3.98 MB / 1.177 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.415, allocations: 12 kB / 1.177 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/1.416, allocations: 0.7134 MB / 1.177 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/1.417, allocations: 132.2 kB / 1.178 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/1.417, allocations: 7.984 kB / 1.178 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/1.417, allocations: 15.86 kB / 1.178 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.846e-05/1.417, allocations: 34.67 kB / 1.178 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/1.417, allocations: 10.75 kB / 1.178 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002274/1.418, allocations: 151.7 kB / 1.178 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.418, allocations: 0 / 1.178 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000754/1.418, allocations: 102.2 kB / 1.178 GB, free: 14.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002111/1.42, allocations: 1.94 MB / 1.18 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001396/1.422, allocations: 0.5539 MB / 1.18 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.422, allocations: 0 / 1.18 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008778/1.423, allocations: 401.5 kB / 1.181 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/1.423, allocations: 49.59 kB / 1.181 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/1.428, allocations: 3.324 MB / 1.184 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/1.429, allocations: 0.7866 MB / 1.185 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003443/1.429, allocations: 54.25 kB / 1.185 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/1.429, allocations: 70.84 kB / 1.185 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/1.429, allocations: 0 / 1.185 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/1.464, allocations: 6.177 MB / 1.191 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003359/1.464, allocations: 219.6 kB / 1.191 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/4.195, allocations: 0 / 1.191 GB, free: 1.895 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)