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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.0009585/0.0009585, allocations: 189.2 kB / 366.3 MB, free: 1.969 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.036/1.036, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0008017/0.0008017, allocations: 92.25 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1903/0.1911, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.6202, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.7893, allocations: 168.5 MB / 1.137 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.7896, allocations: 87.89 kB / 1.137 GB, free: 11.77 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: 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.04156/0.8311, allocations: 18.22 MB / 1.155 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.8312, allocations: 12 kB / 1.155 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/0.8321, allocations: 111.5 kB / 1.155 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.8325, allocations: 251.3 kB / 1.155 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.8325, allocations: 12 kB / 1.155 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.8325, allocations: 8 kB / 1.155 GB, free: 8.949 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003737/0.8329, allocations: 236.8 kB / 1.156 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.8334, allocations: 331.8 kB / 1.156 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8334, allocations: 3.938 kB / 1.156 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.8334, allocations: 0 / 1.156 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/0.8335, allocations: 28.41 kB / 1.156 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.8355, allocations: 1.69 MB / 1.158 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.8358, allocations: 201.4 kB / 1.158 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.8359, allocations: 101.6 kB / 1.158 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.836, allocations: 93.08 kB / 1.158 GB, free: 6.062 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.8361, allocations: 34.56 kB / 1.158 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.8361, allocations: 4 kB / 1.158 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001645/0.8377, allocations: 0.7001 MB / 1.159 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.8378, allocations: 77.3 kB / 1.159 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.8379, allocations: 186.9 kB / 1.159 GB, free: 5.012 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.838, allocations: 25.7 kB / 1.159 GB, free: 4.98 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.8381, allocations: 159.9 kB / 1.159 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/0.8381, allocations: 78.84 kB / 1.159 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.8381, allocations: 0 / 1.159 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.8382, allocations: 330.8 kB / 1.16 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.8384, allocations: 128 kB / 1.16 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.8386, allocations: 213 kB / 1.16 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.839, allocations: 195.7 kB / 1.16 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.839, allocations: 0 / 1.16 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009441/0.84, allocations: 0.5101 MB / 1.161 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.84, allocations: 4 kB / 1.161 GB, free: 3.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.84, allocations: 4 kB / 1.161 GB, free: 3.316 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003857/0.8404, allocations: 143.6 kB / 1.161 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.8407, allocations: 59.91 kB / 1.161 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.8432, allocations: 3.832 MB / 1.165 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.8434, allocations: 11.89 kB / 1.165 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.8434, allocations: 12 kB / 1.165 GB, free: 14.97 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] 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 0.0001171/0.8436, allocations: 112.9 kB / 1.165 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.8436, allocations: 19.81 kB / 1.165 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009416/0.8446, allocations: 0.4973 MB / 1.165 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8446, allocations: 0 / 1.165 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8446, allocations: 4 kB / 1.165 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.8446, allocations: 3.984 kB / 1.165 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.8462, allocations: 0.9622 MB / 1.166 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8462, allocations: 4.25 kB / 1.166 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.8463, allocations: 27.98 kB / 1.166 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003582/0.8467, allocations: 139.3 kB / 1.166 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.8467, allocations: 11.98 kB / 1.166 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/0.8492, allocations: 3.822 MB / 1.17 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.8493, allocations: 4.031 kB / 1.17 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009121/0.8502, allocations: 0.7405 MB / 1.171 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001014/0.8512, allocations: 1.12 MB / 1.172 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.8513, allocations: 128.8 kB / 1.172 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.8514, allocations: 0 / 1.172 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.8516, allocations: 19.98 kB / 1.172 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.8517, allocations: 23.83 kB / 1.172 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.8517, allocations: 8 kB / 1.172 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001152/0.8518, allocations: 152 kB / 1.172 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001096/0.8529, allocations: 95.92 kB / 1.172 GB, free: 6.453 MB / 0.7761 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.0002261/0.8532, allocations: 143 kB / 1.172 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007843/0.854, allocations: 0.5226 MB / 1.173 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.854, allocations: 3.938 kB / 1.173 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.8544, allocations: 364.5 kB / 1.173 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.8548, allocations: 36.56 kB / 1.173 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/0.8556, allocations: 465.8 kB / 1.174 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.856, allocations: 0.8058 MB / 1.175 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of SimCode: time 2.7e-07/0.856, allocations: 4 kB / 1.175 GB, free: 4.012 MB / 0.7761 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)