Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 289.7 MB / 302.3 MB, free: 2.188 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.001542/0.001542, allocations: 184.5 kB / 371.6 MB, free: 3.391 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.475/1.475, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.000897/0.0008971, allocations: 90.27 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.033e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.252, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8149/1.067, allocations: 169.3 MB / 1.145 GB, free: 22.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/1.067, allocations: 87.19 kB / 1.145 GB, free: 22.92 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.04413/1.111, allocations: 18.13 MB / 1.163 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.283e-06/1.111, allocations: 0 / 1.163 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.813e-05/1.111, allocations: 8 kB / 1.163 GB, free: 13.5 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008239/1.112, allocations: 0.5206 MB / 1.164 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.112, allocations: 12.03 kB / 1.164 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.55e-05/1.112, allocations: 58.75 kB / 1.164 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008975/1.113, allocations: 106.8 kB / 1.164 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/1.114, allocations: 252.1 kB / 1.164 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/1.114, allocations: 27.06 kB / 1.164 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/1.114, allocations: 20.39 kB / 1.164 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/1.114, allocations: 346 kB / 1.164 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.114, allocations: 0 / 1.164 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/1.114, allocations: 6.688 kB / 1.164 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/1.114, allocations: 23.83 kB / 1.164 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/1.115, allocations: 290.1 kB / 1.165 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/1.117, allocations: 1.736 MB / 1.166 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/1.117, allocations: 326.5 kB / 1.167 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/1.117, allocations: 106.1 kB / 1.167 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-05/1.117, allocations: 88.19 kB / 1.167 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/1.117, allocations: 37.88 kB / 1.167 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/1.117, allocations: 4 kB / 1.167 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002096/1.119, allocations: 0.7986 MB / 1.168 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/1.119, allocations: 88.58 kB / 1.168 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/1.12, allocations: 188.5 kB / 1.168 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/1.12, allocations: 28.77 kB / 1.168 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/1.12, allocations: 171.8 kB / 1.168 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/1.12, allocations: 84.14 kB / 1.168 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/1.12, allocations: 3.562 kB / 1.168 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/1.12, allocations: 332.7 kB / 1.168 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/1.12, allocations: 124.2 kB / 1.169 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/1.12, allocations: 214.5 kB / 1.169 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/1.12, allocations: 153.6 kB / 1.169 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.121, allocations: 0 / 1.169 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007652/1.121, allocations: 0.5005 MB / 1.169 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.121, allocations: 8.781 kB / 1.169 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.121, allocations: 7.938 kB / 1.169 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/1.122, allocations: 144.2 kB / 1.17 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/1.122, allocations: 60.36 kB / 1.17 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/1.124, allocations: 3.957 MB / 1.174 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/1.124, allocations: 19.62 kB / 1.174 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/1.124, allocations: 13.08 kB / 1.174 GB, free: 4.078 MB / 0.7448 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 () * 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 8.384e-05/1.124, allocations: 126.2 kB / 1.174 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/1.124, allocations: 19.81 kB / 1.174 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000776/1.125, allocations: 471.3 kB / 1.174 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.125, allocations: 4 kB / 1.174 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.125, allocations: 1.969 kB / 1.174 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.125, allocations: 5.453 kB / 1.174 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/1.127, allocations: 1.013 MB / 1.175 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.127, allocations: 8.25 kB / 1.175 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/1.127, allocations: 27.98 kB / 1.175 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003649/1.127, allocations: 153 kB / 1.175 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/1.127, allocations: 7.438 kB / 1.175 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/1.129, allocations: 3.938 MB / 1.179 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/1.129, allocations: 8.828 kB / 1.179 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/1.13, allocations: 0.7216 MB / 1.18 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/1.13, allocations: 131.5 kB / 1.18 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/1.13, allocations: 7.312 kB / 1.18 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/1.131, allocations: 23.86 kB / 1.18 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/1.131, allocations: 27.28 kB / 1.18 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/1.131, allocations: 15.92 kB / 1.18 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001427/1.131, allocations: 154.5 kB / 1.18 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.11e-07/1.131, allocations: 0 / 1.18 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000558/1.131, allocations: 101.4 kB / 1.18 GB, free: 13.48 MB / 0.7605 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 () * 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.00151/1.133, allocations: 1.924 MB / 1.182 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008797/1.134, allocations: 0.5449 MB / 1.183 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.134, allocations: 4 kB / 1.183 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005029/1.134, allocations: 394.6 kB / 1.183 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/1.135, allocations: 42.2 kB / 1.183 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/1.136, allocations: 0.5555 MB / 1.184 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/1.136, allocations: 0.7957 MB / 1.184 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001864/1.136, allocations: 62.75 kB / 1.185 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/1.136, allocations: 73.12 kB / 1.185 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of SimCode: time 2.61e-07/1.136, allocations: 3.938 kB / 1.185 GB, free: 9.293 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/1.157, allocations: 6.208 MB / 1.191 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.157, allocations: 185.9 kB / 1.191 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/3.015, allocations: 0 / 1.191 GB, free: 3.023 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)