Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.334/1.334, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001079/0.001079, allocations: 177.3 kB / 366.3 MB, free: 2.008 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.032/1.032, allocations: 205.1 MB / 0.6256 GB, free: 5.918 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.0008035/0.0008035, allocations: 85.19 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.099e-06/5.119e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4071, allocations: 116.3 MB / 0.9726 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.5535, allocations: 154 MB / 1.123 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.5537, allocations: 91.88 kB / 1.123 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.06296/0.6167, allocations: 29.03 MB / 1.151 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.263e-05/0.6168, allocations: 19.98 kB / 1.151 GB, free: 13.2 MB / 0.7605 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.001167/0.618, allocations: 0.7863 MB / 1.152 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.618, allocations: 12.03 kB / 1.152 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.6193, allocations: 202.8 kB / 1.152 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.62, allocations: 480.4 kB / 1.153 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.6201, allocations: 16 kB / 1.153 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.6201, allocations: 27.91 kB / 1.153 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006454/0.6208, allocations: 434.2 kB / 1.153 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009326/0.6217, allocations: 0.8692 MB / 1.154 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.6218, allocations: 3.938 kB / 1.154 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.6218, allocations: 8 kB / 1.154 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/0.6219, allocations: 52.75 kB / 1.154 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.6257, allocations: 5.563 MB / 1.16 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.6262, allocations: 422.3 kB / 1.16 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.6265, allocations: 225 kB / 1.16 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.6265, allocations: 7.984 kB / 1.16 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.6265, allocations: 46.55 kB / 1.16 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.6265, allocations: 0 / 1.16 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001369/0.6279, allocations: 0.8168 MB / 1.161 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.6279, allocations: 59.34 kB / 1.161 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.6283, allocations: 349.3 kB / 1.161 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.6283, allocations: 29.7 kB / 1.162 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.6285, allocations: 291.5 kB / 1.162 GB, free: 1.84 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.214e-05/0.6285, allocations: 114.3 kB / 1.162 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.6286, allocations: 0 / 1.162 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6287, allocations: 358.8 kB / 1.162 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.6289, allocations: 189.2 kB / 1.162 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.6293, allocations: 393.5 kB / 1.163 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.6296, allocations: 248 kB / 1.163 GB, free: 468 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6296, allocations: 7.938 kB / 1.163 GB, free: 460 kB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001043/0.6307, allocations: 0.7005 MB / 1.164 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6307, allocations: 11.98 kB / 1.164 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.6307, allocations: 8 kB / 1.164 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.6312, allocations: 152.1 kB / 1.164 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.6316, allocations: 115.8 kB / 1.164 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.6342, allocations: 3.856 MB / 1.168 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.6346, allocations: 19.98 kB / 1.168 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.6346, allocations: 24 kB / 1.168 GB, free: 11.18 MB / 0.7761 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.0001111/0.6347, allocations: 128.7 kB / 1.168 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.6348, allocations: 59.33 kB / 1.168 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.6357, allocations: 0.5729 MB / 1.169 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6357, allocations: 0 / 1.169 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6357, allocations: 4 kB / 1.169 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6357, allocations: 7.844 kB / 1.169 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.6373, allocations: 1.172 MB / 1.17 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6373, allocations: 0 / 1.17 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.6375, allocations: 51.91 kB / 1.17 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/0.6379, allocations: 140.4 kB / 1.17 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.638, allocations: 7.984 kB / 1.17 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.6405, allocations: 3.838 MB / 1.174 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6405, allocations: 4.031 kB / 1.174 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008859/0.6414, allocations: 0.7806 MB / 1.174 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.6416, allocations: 156.4 kB / 1.175 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.6417, allocations: 8 kB / 1.175 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.6419, allocations: 15.89 kB / 1.175 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.642, allocations: 23.91 kB / 1.175 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.642, allocations: 8 kB / 1.175 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002144/0.6422, allocations: 263 kB / 1.175 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005106/0.6427, allocations: 127.9 kB / 1.175 GB, free: 3.25 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.000137/0.6429, allocations: 111.2 kB / 1.175 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.644, allocations: 0.9673 MB / 1.176 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.644, allocations: 0 / 1.176 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006998/0.6447, allocations: 0.6968 MB / 1.177 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007039/0.6454, allocations: 161.5 kB / 1.177 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.6466, allocations: 0.7505 MB / 1.178 GB, free: 388 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.6471, allocations: 0.9565 MB / 1.179 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of SimCode: time 2.51e-07/0.6471, allocations: 0 / 1.179 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of Templates: time 0.01147/0.6586, allocations: 7.005 MB / 1.185 GB, free: 8.473 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)