Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") [: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.372/1.372, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.001067/0.001067, allocations: 181.3 kB / 316 MB, free: 3.535 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.363/1.363, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.0009112/0.0009112, allocations: 97.19 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.684e-06, allocations: 0 / 0.7807 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 106.3 MB / 0.8846 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6365/0.8617, allocations: 165.3 MB / 1.046 GB, free: 65.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.862, allocations: 97.66 kB / 1.046 GB, free: 65.21 MB / 0.7292 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: Performance of FrontEnd: time 0.04657/0.9086, allocations: 20.14 MB / 1.066 GB, free: 63.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.9086, allocations: 5.844 kB / 1.066 GB, free: 63.57 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008564/0.9095, allocations: 0.5735 MB / 1.066 GB, free: 63.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.9096, allocations: 6.562 kB / 1.066 GB, free: 63.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.9106, allocations: 123.3 kB / 1.067 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.911, allocations: 282.8 kB / 1.067 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.9111, allocations: 6.531 kB / 1.067 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.9111, allocations: 12.19 kB / 1.067 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003984/0.9115, allocations: 266.2 kB / 1.067 GB, free: 62.85 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.912, allocations: 371.9 kB / 1.067 GB, free: 62.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.912, allocations: 0 / 1.067 GB, free: 62.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.912, allocations: 0 / 1.067 GB, free: 62.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/0.9121, allocations: 30.38 kB / 1.067 GB, free: 62.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.9141, allocations: 2.014 MB / 1.069 GB, free: 61.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.9145, allocations: 283.6 kB / 1.07 GB, free: 61.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.9148, allocations: 185.8 kB / 1.07 GB, free: 61.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.136e-05/0.9149, allocations: 90.62 kB / 1.07 GB, free: 61.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.9149, allocations: 33.88 kB / 1.07 GB, free: 61.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.9149, allocations: 0 / 1.07 GB, free: 61.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.001981/0.9169, allocations: 0.8858 MB / 1.071 GB, free: 60.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.9169, allocations: 91.7 kB / 1.071 GB, free: 60.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.9171, allocations: 198 kB / 1.071 GB, free: 60.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.9171, allocations: 25.7 kB / 1.071 GB, free: 60.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.9172, allocations: 168.3 kB / 1.071 GB, free: 60.56 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.9173, allocations: 114.2 kB / 1.071 GB, free: 60.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.9173, allocations: 0 / 1.071 GB, free: 60.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.9174, allocations: 342.6 kB / 1.072 GB, free: 60.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.9176, allocations: 156.7 kB / 1.072 GB, free: 60.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.9178, allocations: 270.1 kB / 1.072 GB, free: 60.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.9182, allocations: 229.2 kB / 1.072 GB, free: 60.03 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9182, allocations: 7.312 kB / 1.072 GB, free: 60.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000956/0.9192, allocations: 0.5895 MB / 1.073 GB, free: 59.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.9194, allocations: 1.221 MB / 1.074 GB, free: 58.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9194, allocations: 3.219 kB / 1.074 GB, free: 58.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/0.9198, allocations: 139.5 kB / 1.074 GB, free: 58.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.9202, allocations: 101.2 kB / 1.074 GB, free: 58.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.9222, allocations: 3.8 MB / 1.078 GB, free: 55.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.9226, allocations: 36.36 kB / 1.078 GB, free: 55.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.9226, allocations: 19.66 kB / 1.078 GB, free: 55.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.732e-06/0.9226, allocations: 5.125 kB / 1.078 GB, free: 55.16 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000905/0.9236, allocations: 0.5315 MB / 1.079 GB, free: 55.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.9236, allocations: 3.344 kB / 1.079 GB, free: 55.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.9238, allocations: 138.7 kB / 1.079 GB, free: 55.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.9242, allocations: 94.72 kB / 1.079 GB, free: 55.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006797/0.9249, allocations: 1.129 MB / 1.08 GB, free: 70 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.9252, allocations: 30.08 kB / 1.08 GB, free: 69.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.9252, allocations: 27.2 kB / 1.08 GB, free: 69.99 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0001632/0.9254, allocations: 119.8 kB / 1.08 GB, free: 69.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.9255, allocations: 28.44 kB / 1.08 GB, free: 69.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009103/0.9264, allocations: 0.5497 MB / 1.081 GB, free: 69.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.9264, allocations: 2.938 kB / 1.081 GB, free: 69.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.9264, allocations: 0 / 1.081 GB, free: 69.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.9264, allocations: 3.125 kB / 1.081 GB, free: 69.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.9282, allocations: 1.228 MB / 1.082 GB, free: 69.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9282, allocations: 3.031 kB / 1.082 GB, free: 69.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.9285, allocations: 66.44 kB / 1.082 GB, free: 69.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000326/0.9288, allocations: 146.6 kB / 1.082 GB, free: 69.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.9289, allocations: 3.156 kB / 1.082 GB, free: 69.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.9313, allocations: 3.853 MB / 1.086 GB, free: 65.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9314, allocations: 3.281 kB / 1.086 GB, free: 65.77 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008823/0.9322, allocations: 0.8237 MB / 1.087 GB, free: 65.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.9324, allocations: 135.9 kB / 1.087 GB, free: 65.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.9324, allocations: 2.906 kB / 1.087 GB, free: 65.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.9328, allocations: 31.92 kB / 1.087 GB, free: 65.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.9328, allocations: 26.66 kB / 1.087 GB, free: 65.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.9329, allocations: 16.59 kB / 1.087 GB, free: 65.17 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001311/0.933, allocations: 158.7 kB / 1.087 GB, free: 65.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007629/0.9338, allocations: 149.5 kB / 1.087 GB, free: 65.08 MB / 0.7448 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 (31): * Single equations (assignments): 27 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002283/0.934, allocations: 148.2 kB / 1.087 GB, free: 64.97 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.9353, allocations: 1.028 MB / 1.088 GB, free: 64.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9354, allocations: 1.312 kB / 1.088 GB, free: 64.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.9359, allocations: 429.1 kB / 1.089 GB, free: 64.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.9363, allocations: 36.94 kB / 1.089 GB, free: 64.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009971/0.9373, allocations: 0.5715 MB / 1.089 GB, free: 64.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004515/0.9377, allocations: 0.8417 MB / 1.09 GB, free: 63.39 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.9377, allocations: 0 / 1.09 GB, free: 63.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.01065/0.9484, allocations: 6.811 MB / 1.097 GB, free: 62.99 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches