Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.698/1.698, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0008518/0.0008521, allocations: 176 kB / 490.8 MB, free: 1.953 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.056/1.056, allocations: 221.4 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000806/0.000806, allocations: 87.73 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.39e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4714/0.6358, allocations: 184 MB / 1.391 GB, free: 14.86 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.636, allocations: 89.31 kB / 1.391 GB, free: 14.84 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.04311/0.6791, allocations: 22.46 MB / 1.413 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.6792, allocations: 12 kB / 1.413 GB, free: 14.96 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.0006283/0.6798, allocations: 0.569 MB / 1.414 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.6798, allocations: 8.031 kB / 1.414 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000908/0.6807, allocations: 123.5 kB / 1.414 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.6811, allocations: 273.2 kB / 1.414 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.6811, allocations: 15.98 kB / 1.414 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.6811, allocations: 12 kB / 1.414 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003527/0.6815, allocations: 263.4 kB / 1.415 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.6819, allocations: 362.3 kB / 1.415 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.6819, allocations: 4 kB / 1.415 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.682, allocations: 7.969 kB / 1.415 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.682, allocations: 39.83 kB / 1.415 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.684, allocations: 2.004 MB / 1.417 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.6843, allocations: 285 kB / 1.417 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.6846, allocations: 173.4 kB / 1.417 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.512e-05/0.6847, allocations: 97.27 kB / 1.417 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.6847, allocations: 38.38 kB / 1.417 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.6847, allocations: 0 / 1.417 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001843/0.6866, allocations: 0.8902 MB / 1.418 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.6866, allocations: 85.05 kB / 1.418 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.6868, allocations: 194.8 kB / 1.419 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.6868, allocations: 25.7 kB / 1.419 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.6869, allocations: 174.1 kB / 1.419 GB, free: 9.734 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/0.687, allocations: 116.2 kB / 1.419 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.687, allocations: 0 / 1.419 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.6871, allocations: 337.2 kB / 1.419 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.6873, allocations: 161.5 kB / 1.419 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.6875, allocations: 265.9 kB / 1.42 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.6879, allocations: 232.5 kB / 1.42 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6879, allocations: 0 / 1.42 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009658/0.6889, allocations: 0.5932 MB / 1.42 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003139/0.6892, allocations: 1.221 MB / 1.422 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.6892, allocations: 4 kB / 1.422 GB, free: 7.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/0.6896, allocations: 140.1 kB / 1.422 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.69, allocations: 95.25 kB / 1.422 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.6921, allocations: 3.818 MB / 1.426 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.6925, allocations: 36 kB / 1.426 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.6925, allocations: 19.5 kB / 1.426 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.649e-06/0.6925, allocations: 7.938 kB / 1.426 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000888/0.6934, allocations: 0.523 MB / 1.426 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6934, allocations: 4 kB / 1.426 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/0.6937, allocations: 129.8 kB / 1.426 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.694, allocations: 100 kB / 1.426 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005361/0.6946, allocations: 1.129 MB / 1.427 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.6949, allocations: 35.97 kB / 1.427 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.6949, allocations: 15.98 kB / 1.427 GB, free: 1.027 MB / 0.8386 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.0001211/0.695, allocations: 121.7 kB / 1.428 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.6951, allocations: 31.66 kB / 1.428 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008629/0.696, allocations: 0.5429 MB / 1.428 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.696, allocations: 4 kB / 1.428 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.696, allocations: 4 kB / 1.428 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.696, allocations: 7.891 kB / 1.428 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.6977, allocations: 1.221 MB / 1.429 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6977, allocations: 0 / 1.429 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.698, allocations: 72.16 kB / 1.429 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003319/0.6983, allocations: 149 kB / 1.43 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.6983, allocations: 4 kB / 1.43 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.7005, allocations: 3.847 MB / 1.433 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7005, allocations: 4.031 kB / 1.433 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008509/0.7014, allocations: 0.8349 MB / 1.434 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.7015, allocations: 140.1 kB / 1.434 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.7016, allocations: 4 kB / 1.434 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.7019, allocations: 31.97 kB / 1.434 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.7019, allocations: 19.84 kB / 1.434 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.702, allocations: 15.88 kB / 1.434 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.953e-05/0.7021, allocations: 152.2 kB / 1.435 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005768/0.7027, allocations: 159.7 kB / 1.435 GB, free: 9.918 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.0001741/0.7028, allocations: 155.1 kB / 1.435 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.704, allocations: 1.03 MB / 1.436 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.704, allocations: 0 / 1.436 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.7045, allocations: 434.2 kB / 1.436 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.7049, allocations: 49.88 kB / 1.436 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.7057, allocations: 0.5555 MB / 1.437 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.7061, allocations: 0.8369 MB / 1.438 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of SimCode: time 2.61e-07/0.7061, allocations: 4 kB / 1.438 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of Templates: time 0.009535/0.7157, allocations: 6.806 MB / 1.444 GB, free: 316 kB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches