Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.0009746/0.0009747, allocations: 177.2 kB / 316 MB, free: 3.559 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.126/1.126, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0008599/0.0008599, allocations: 94.12 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3159/0.3168, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.4739, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.9567, allocations: 162.4 MB / 1.043 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.9569, allocations: 86.48 kB / 1.043 GB, free: 10.21 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0413/0.9982, allocations: 18.23 MB / 1.061 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.9983, allocations: 8 kB / 1.061 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.9991, allocations: 103.6 kB / 1.061 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.9995, allocations: 258.5 kB / 1.061 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.9995, allocations: 8 kB / 1.061 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.9996, allocations: 16 kB / 1.061 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003615/0.9999, allocations: 235.3 kB / 1.062 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/1, allocations: 326.8 kB / 1.062 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/1, allocations: 3.984 kB / 1.062 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/1, allocations: 0 / 1.062 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/1.001, allocations: 24.42 kB / 1.062 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/1.002, allocations: 1.697 MB / 1.064 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/1.003, allocations: 203.8 kB / 1.064 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/1.003, allocations: 98.56 kB / 1.064 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/1.003, allocations: 89.09 kB / 1.064 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/1.003, allocations: 42.44 kB / 1.064 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/1.003, allocations: 3.938 kB / 1.064 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001606/1.005, allocations: 0.6973 MB / 1.065 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/1.005, allocations: 89.17 kB / 1.065 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/1.005, allocations: 180.8 kB / 1.065 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/1.005, allocations: 29.52 kB / 1.065 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/1.005, allocations: 158.1 kB / 1.065 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/1.005, allocations: 76.22 kB / 1.065 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/1.005, allocations: 4 kB / 1.065 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.452e-05/1.005, allocations: 335.6 kB / 1.066 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/1.005, allocations: 128.9 kB / 1.066 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/1.005, allocations: 200.8 kB / 1.066 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/1.006, allocations: 193.3 kB / 1.066 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.006, allocations: 7.938 kB / 1.066 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000939/1.007, allocations: 0.5161 MB / 1.067 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.007, allocations: 12.02 kB / 1.067 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.007, allocations: 0 / 1.067 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/1.007, allocations: 137.6 kB / 1.067 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/1.008, allocations: 51.91 kB / 1.067 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/1.011, allocations: 3.837 MB / 1.071 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/1.011, allocations: 12.02 kB / 1.071 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/1.011, allocations: 11.19 kB / 1.071 GB, free: 1.855 MB / 0.6823 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.0001546/1.011, allocations: 113 kB / 1.071 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.162e-05/1.011, allocations: 27.7 kB / 1.071 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009051/1.012, allocations: 486.7 kB / 1.071 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.012, allocations: 4 kB / 1.071 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.012, allocations: 0 / 1.071 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.012, allocations: 3.984 kB / 1.071 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.013, allocations: 0.9785 MB / 1.072 GB, free: 472 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.013, allocations: 4 kB / 1.072 GB, free: 468 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/1.014, allocations: 35.48 kB / 1.072 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/1.014, allocations: 137.3 kB / 1.072 GB, free: 308 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/1.014, allocations: 7.875 kB / 1.072 GB, free: 304 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/1.016, allocations: 3.814 MB / 1.076 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.016, allocations: 0 / 1.076 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008507/1.017, allocations: 0.7462 MB / 1.077 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009539/1.018, allocations: 1.121 MB / 1.078 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/1.018, allocations: 125.8 kB / 1.078 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/1.018, allocations: 11.91 kB / 1.078 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/1.019, allocations: 15.98 kB / 1.078 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/1.019, allocations: 11.98 kB / 1.078 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/1.019, allocations: 11.12 kB / 1.078 GB, free: 10.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001089/1.019, allocations: 141.2 kB / 1.078 GB, free: 10.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001032/1.02, allocations: 99.39 kB / 1.078 GB, free: 10.13 MB / 0.698 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.0001883/1.02, allocations: 146.5 kB / 1.078 GB, free: 9.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007161/1.021, allocations: 0.5217 MB / 1.079 GB, free: 9.535 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.021, allocations: 0 / 1.079 GB, free: 9.535 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004286/1.021, allocations: 370.8 kB / 1.079 GB, free: 9.195 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/1.022, allocations: 27.84 kB / 1.079 GB, free: 9.172 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/1.022, allocations: 463.9 kB / 1.08 GB, free: 8.738 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/1.023, allocations: 0.8195 MB / 1.081 GB, free: 7.902 MB / 0.698 GB Notification: Performance of SimCode: time 1.562e-06/1.023, allocations: 0 / 1.081 GB, free: 7.902 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)