Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") [: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.331/1.331, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 190.3 kB / 316 MB, free: 7.215 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.777/1.777, allocations: 205.1 MB / 0.5667 GB, free: 23.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.0009705/0.0009705, allocations: 91.06 kB / 0.671 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.564e-06/8.035e-06, allocations: 0 / 0.7807 GB, free: 488 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.547, allocations: 106.3 MB / 0.8846 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5817/1.129, allocations: 169.6 MB / 1.05 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004221/1.129, allocations: 89.66 kB / 1.05 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1043/1.234, allocations: 43.03 MB / 1.092 GB, free: 55.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.585e-05/1.234, allocations: 11.62 kB / 1.092 GB, free: 55.02 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001719/1.235, allocations: 0.911 MB / 1.093 GB, free: 54.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.235, allocations: 7.469 kB / 1.093 GB, free: 54.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008613/1.244, allocations: 1.19 MB / 1.094 GB, free: 53.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009658/1.245, allocations: 0.5485 MB / 1.095 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/1.245, allocations: 19.5 kB / 1.095 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/1.245, allocations: 38.94 kB / 1.095 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/1.247, allocations: 1.271 MB / 1.096 GB, free: 53.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/1.249, allocations: 1.291 MB / 1.097 GB, free: 52.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.249, allocations: 5.688 kB / 1.097 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.249, allocations: 2.938 kB / 1.097 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/1.249, allocations: 99.12 kB / 1.098 GB, free: 52.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00745/1.257, allocations: 6.233 MB / 1.104 GB, free: 48.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.258, allocations: 0.934 MB / 1.105 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/1.258, allocations: 0.5638 MB / 1.105 GB, free: 47.94 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002188/1.261, allocations: 2.227 MB / 1.107 GB, free: 46.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/1.261, allocations: 53.25 kB / 1.107 GB, free: 46.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 2.164e-06/1.261, allocations: 1.594 kB / 1.107 GB, free: 46.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.008176/1.269, allocations: 3.574 MB / 1.111 GB, free: 45.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.269, allocations: 199.2 kB / 1.111 GB, free: 44.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/1.269, allocations: 429.3 kB / 1.111 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.967e-05/1.27, allocations: 29.64 kB / 1.111 GB, free: 44.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.27, allocations: 352.8 kB / 1.112 GB, free: 44.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/1.27, allocations: 313 kB / 1.112 GB, free: 44.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/1.27, allocations: 4 kB / 1.112 GB, free: 44.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/1.27, allocations: 378.1 kB / 1.112 GB, free: 43.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000873/1.271, allocations: 0.6444 MB / 1.113 GB, free: 43.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000907/1.272, allocations: 0.9142 MB / 1.114 GB, free: 43.28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/1.273, allocations: 0.8699 MB / 1.115 GB, free: 43.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/1.273, allocations: 0 / 1.115 GB, free: 43.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005123/1.279, allocations: 2.398 MB / 1.117 GB, free: 42.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005754/1.279, allocations: 3.137 MB / 1.12 GB, free: 39.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.279, allocations: 7.719 kB / 1.12 GB, free: 39.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/1.282, allocations: 0.6727 MB / 1.121 GB, free: 38.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.284, allocations: 393.3 kB / 1.121 GB, free: 38.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006977/1.291, allocations: 6.937 MB / 1.128 GB, free: 34.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/1.293, allocations: 203.9 kB / 1.128 GB, free: 34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/1.293, allocations: 53.62 kB / 1.128 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/1.293, allocations: 7.906 kB / 1.128 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003098/1.296, allocations: 1.781 MB / 1.13 GB, free: 33.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.296, allocations: 7.812 kB / 1.13 GB, free: 33.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/1.297, allocations: 217.1 kB / 1.13 GB, free: 33.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/1.299, allocations: 437.1 kB / 1.131 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/1.302, allocations: 3.679 MB / 1.134 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.304, allocations: 191.8 kB / 1.134 GB, free: 30.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.304, allocations: 57.47 kB / 1.135 GB, free: 30.65 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002544/1.304, allocations: 139.9 kB / 1.135 GB, free: 30.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/1.304, allocations: 66.25 kB / 1.135 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005395/1.31, allocations: 2.355 MB / 1.137 GB, free: 29.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.31, allocations: 11.59 kB / 1.137 GB, free: 29.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.31, allocations: 3.844 kB / 1.137 GB, free: 29.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.31, allocations: 11.83 kB / 1.137 GB, free: 29.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00699/1.317, allocations: 4.109 MB / 1.141 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.317, allocations: 12.44 kB / 1.141 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.318, allocations: 297 kB / 1.141 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/1.321, allocations: 0.7885 MB / 1.142 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/1.321, allocations: 23.19 kB / 1.142 GB, free: 27.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008308/1.33, allocations: 7.908 MB / 1.15 GB, free: 21.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.33, allocations: 9.703 kB / 1.15 GB, free: 21.82 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005376/1.335, allocations: 2.694 MB / 1.153 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/1.336, allocations: 312.7 kB / 1.153 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/1.336, allocations: 11.03 kB / 1.153 GB, free: 19.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.338, allocations: 208 kB / 1.153 GB, free: 19.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.338, allocations: 66 kB / 1.153 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.338, allocations: 38.92 kB / 1.153 GB, free: 19.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004011/1.338, allocations: 333.6 kB / 1.153 GB, free: 19.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001956/1.34, allocations: 437.4 kB / 1.154 GB, free: 19.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002327/1.341, allocations: 131.8 kB / 1.154 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005184/1.346, allocations: 3.114 MB / 1.157 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.346, allocations: 0 / 1.157 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/1.348, allocations: 1.269 MB / 1.158 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/1.348, allocations: 81.5 kB / 1.158 GB, free: 16.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/1.356, allocations: 2.378 MB / 1.161 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008794/1.357, allocations: 1.137 MB / 1.162 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of SimCode: time 7.21e-07/1.357, allocations: 3.938 kB / 1.162 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of Templates: time 0.03601/1.393, allocations: 27.93 MB / 1.189 GB, free: 1.297 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches