Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.77/1.77, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 185.3 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 97.73 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.209e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1898, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4932/0.683, allocations: 183.2 MB / 1.384 GB, free: 10.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.6833, allocations: 93.34 kB / 1.384 GB, free: 10.52 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd: time 0.0485/0.7318, allocations: 22.46 MB / 1.406 GB, free: 7.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.7318, allocations: 15.94 kB / 1.406 GB, free: 7.766 MB / 0.8386 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.0007516/0.7326, allocations: 0.5646 MB / 1.407 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.7326, allocations: 8.031 kB / 1.407 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009468/0.7336, allocations: 123.5 kB / 1.407 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.7339, allocations: 276.7 kB / 1.407 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.734, allocations: 8 kB / 1.407 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.734, allocations: 12 kB / 1.407 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003857/0.7344, allocations: 271.4 kB / 1.407 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.7349, allocations: 366 kB / 1.408 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.7349, allocations: 0 / 1.408 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.7349, allocations: 3.906 kB / 1.408 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.735, allocations: 36.03 kB / 1.408 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.7371, allocations: 2.009 MB / 1.41 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.7375, allocations: 282.3 kB / 1.41 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.7377, allocations: 177.8 kB / 1.41 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.811e-05/0.7379, allocations: 85.3 kB / 1.41 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.7379, allocations: 38.12 kB / 1.41 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.7379, allocations: 0 / 1.41 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001929/0.7398, allocations: 0.9024 MB / 1.411 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.7399, allocations: 81.11 kB / 1.411 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.74, allocations: 197.5 kB / 1.411 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.7401, allocations: 29.64 kB / 1.411 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.7402, allocations: 173 kB / 1.412 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.7403, allocations: 112.6 kB / 1.412 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.7403, allocations: 0 / 1.412 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7404, allocations: 337.1 kB / 1.412 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.7406, allocations: 161.9 kB / 1.412 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.7409, allocations: 271.6 kB / 1.412 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.7413, allocations: 224.5 kB / 1.413 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7413, allocations: 0 / 1.413 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009906/0.7423, allocations: 0.6023 MB / 1.413 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003786/0.7427, allocations: 1.218 MB / 1.414 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7427, allocations: 7.938 kB / 1.414 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.7431, allocations: 136.5 kB / 1.415 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.7435, allocations: 99.94 kB / 1.415 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.7461, allocations: 3.815 MB / 1.418 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.7464, allocations: 32.12 kB / 1.418 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.7465, allocations: 14.81 kB / 1.418 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-06/0.7465, allocations: 4 kB / 1.418 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009153/0.7474, allocations: 0.5272 MB / 1.419 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7474, allocations: 4 kB / 1.419 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/0.7477, allocations: 134.7 kB / 1.419 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.7481, allocations: 99.25 kB / 1.419 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006026/0.7487, allocations: 1.13 MB / 1.42 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.749, allocations: 32.16 kB / 1.42 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.749, allocations: 15.38 kB / 1.42 GB, free: 9.848 MB / 0.8542 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.0001282/0.7492, allocations: 112.5 kB / 1.42 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.7493, allocations: 31.62 kB / 1.42 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000917/0.7502, allocations: 0.5501 MB / 1.421 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.7502, allocations: 11.91 kB / 1.421 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7502, allocations: 4 kB / 1.421 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.7502, allocations: 0 / 1.421 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.7519, allocations: 1.223 MB / 1.422 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7519, allocations: 0 / 1.422 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.7522, allocations: 67.89 kB / 1.422 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/0.7526, allocations: 152 kB / 1.422 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.7526, allocations: 7.984 kB / 1.422 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.7549, allocations: 3.843 MB / 1.426 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7549, allocations: 4 kB / 1.426 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008783/0.7558, allocations: 0.8313 MB / 1.427 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.756, allocations: 138.5 kB / 1.427 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.756, allocations: 0 / 1.427 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.7563, allocations: 35.97 kB / 1.427 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.7564, allocations: 23.22 kB / 1.427 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.7564, allocations: 19.92 kB / 1.427 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001113/0.7566, allocations: 160.3 kB / 1.427 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006257/0.7572, allocations: 151.9 kB / 1.428 GB, free: 2.723 MB / 0.8542 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.0001885/0.7574, allocations: 150.9 kB / 1.428 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.7586, allocations: 1.033 MB / 1.429 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7586, allocations: 0 / 1.429 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.7591, allocations: 431.4 kB / 1.429 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.7594, allocations: 38.53 kB / 1.429 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000905/0.7604, allocations: 0.5702 MB / 1.43 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/0.7608, allocations: 0.8428 MB / 1.431 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/0.7608, allocations: 0 / 1.431 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of Templates: time 0.009991/0.7708, allocations: 6.802 MB / 1.437 GB, free: 9.125 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches