Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [: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.0.1-maint.8.0.x/package.mo): time 1.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009228/0.0009226, allocations: 185.2 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9789/0.9789, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008141/0.0008141, allocations: 97.61 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.781e-06, allocations: 0 / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3993, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.5434, allocations: 153 MB / 1.113 GB, free: 3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.5437, allocations: 94.53 kB / 1.113 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06487/0.6086, allocations: 29.03 MB / 1.142 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.6086, allocations: 23.98 kB / 1.142 GB, free: 5.734 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001063/0.6097, allocations: 0.7786 MB / 1.142 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.6098, allocations: 8.531 kB / 1.142 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.611, allocations: 198.8 kB / 1.143 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.6117, allocations: 488.3 kB / 1.143 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.6117, allocations: 12 kB / 1.143 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.6118, allocations: 31.91 kB / 1.143 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006377/0.6125, allocations: 435.7 kB / 1.143 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009406/0.6134, allocations: 0.8615 MB / 1.144 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.6134, allocations: 11.94 kB / 1.144 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.6135, allocations: 4 kB / 1.144 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.527e-05/0.6135, allocations: 52.75 kB / 1.144 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.6174, allocations: 5.572 MB / 1.15 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.6179, allocations: 419.2 kB / 1.15 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.6182, allocations: 225.3 kB / 1.15 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.6182, allocations: 4 kB / 1.15 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.6183, allocations: 42.53 kB / 1.15 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.6183, allocations: 0 / 1.15 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.00139/0.6197, allocations: 0.8246 MB / 1.151 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.6197, allocations: 55.41 kB / 1.151 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.6201, allocations: 345.3 kB / 1.152 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.6201, allocations: 25.7 kB / 1.152 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.6202, allocations: 299.5 kB / 1.152 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.47e-05/0.6203, allocations: 119.7 kB / 1.152 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.6204, allocations: 0 / 1.152 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6205, allocations: 358.8 kB / 1.152 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.6207, allocations: 177.2 kB / 1.153 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.6211, allocations: 397.5 kB / 1.153 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.6214, allocations: 247.9 kB / 1.153 GB, free: 9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6214, allocations: 4 kB / 1.153 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001077/0.6225, allocations: 0.7158 MB / 1.154 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.6225, allocations: 4 kB / 1.154 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6225, allocations: 11.98 kB / 1.154 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004677/0.623, allocations: 152.4 kB / 1.154 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.6234, allocations: 107.8 kB / 1.154 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.6262, allocations: 3.865 MB / 1.158 GB, free: 3.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.6265, allocations: 15.98 kB / 1.158 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.6265, allocations: 28.34 kB / 1.158 GB, free: 3.727 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.6267, allocations: 123.5 kB / 1.158 GB, free: 3.602 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.6267, allocations: 59.33 kB / 1.158 GB, free: 3.543 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009333/0.6277, allocations: 0.5728 MB / 1.159 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6277, allocations: 4 kB / 1.159 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6277, allocations: 0 / 1.159 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6277, allocations: 7.906 kB / 1.159 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.6293, allocations: 1.169 MB / 1.16 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.6293, allocations: 4 kB / 1.16 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.6296, allocations: 51.91 kB / 1.16 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.63, allocations: 140.1 kB / 1.16 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.63, allocations: 0 / 1.16 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.6328, allocations: 3.848 MB / 1.164 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6328, allocations: 3.984 kB / 1.164 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009895/0.6338, allocations: 0.7785 MB / 1.165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.634, allocations: 160.4 kB / 1.165 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.6341, allocations: 5.688 kB / 1.165 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.6344, allocations: 11.89 kB / 1.165 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.6344, allocations: 23.97 kB / 1.165 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.6345, allocations: 16 kB / 1.165 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002437/0.6347, allocations: 255 kB / 1.165 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005774/0.6353, allocations: 131.9 kB / 1.165 GB, free: 11.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.6355, allocations: 115 kB / 1.165 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.6367, allocations: 0.9564 MB / 1.166 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6367, allocations: 4 kB / 1.166 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.6374, allocations: 0.7023 MB / 1.167 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.6381, allocations: 166.4 kB / 1.167 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.6394, allocations: 0.7583 MB / 1.168 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/0.6399, allocations: 0.9525 MB / 1.169 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.6399, allocations: 2.344 kB / 1.169 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of Templates: time 0.01151/0.6514, allocations: 7.013 MB / 1.176 GB, free: 1.102 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)