Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.697/1.697, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009258/0.0009258, allocations: 181.2 kB / 490.8 MB, free: 1.949 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.053/1.053, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0007889/0.0007889, allocations: 87.91 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.41e-06/5.44e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1649, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.6336, allocations: 182.5 MB / 1.39 GB, free: 15.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.6339, allocations: 95.47 kB / 1.39 GB, free: 15.23 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.04226/0.6761, allocations: 22.18 MB / 1.412 GB, free: 332 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.6762, allocations: 15.94 kB / 1.412 GB, free: 316 kB / 0.823 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.0006472/0.6768, allocations: 0.5727 MB / 1.412 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.6768, allocations: 8.031 kB / 1.412 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.6777, allocations: 122.1 kB / 1.412 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.6781, allocations: 274.6 kB / 1.413 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.6781, allocations: 8 kB / 1.413 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.6782, allocations: 12 kB / 1.413 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003692/0.6785, allocations: 270 kB / 1.413 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.679, allocations: 361.8 kB / 1.413 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.679, allocations: 11.92 kB / 1.413 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.6791, allocations: 0 / 1.413 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.6791, allocations: 35.77 kB / 1.413 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.6812, allocations: 1.999 MB / 1.415 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.6816, allocations: 284.5 kB / 1.415 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.6819, allocations: 171.9 kB / 1.416 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.682, allocations: 97.27 kB / 1.416 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.682, allocations: 42.12 kB / 1.416 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.682, allocations: 0 / 1.416 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.00191/0.6839, allocations: 0.8856 MB / 1.417 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.684, allocations: 81.11 kB / 1.417 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.6841, allocations: 196.7 kB / 1.417 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.6842, allocations: 25.7 kB / 1.417 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.6843, allocations: 173.4 kB / 1.417 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.6844, allocations: 118.1 kB / 1.417 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.6844, allocations: 0 / 1.417 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6845, allocations: 336.9 kB / 1.417 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.6847, allocations: 163.1 kB / 1.418 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.6849, allocations: 267.1 kB / 1.418 GB, free: 10.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.6853, allocations: 235.3 kB / 1.418 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6853, allocations: 0 / 1.418 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009516/0.6863, allocations: 0.5899 MB / 1.419 GB, free: 9.676 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004052/0.6867, allocations: 1.219 MB / 1.42 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.6867, allocations: 4 kB / 1.42 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.6871, allocations: 140.3 kB / 1.42 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.6875, allocations: 95.31 kB / 1.42 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.6898, allocations: 3.822 MB / 1.424 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.6901, allocations: 32.06 kB / 1.424 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.6902, allocations: 19.75 kB / 1.424 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-06/0.6902, allocations: 4 kB / 1.424 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008991/0.6911, allocations: 0.527 MB / 1.424 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6911, allocations: 4 kB / 1.424 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.6914, allocations: 133.7 kB / 1.425 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.6917, allocations: 103.9 kB / 1.425 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005927/0.6923, allocations: 1.126 MB / 1.426 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.6926, allocations: 35.97 kB / 1.426 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.6926, allocations: 15.75 kB / 1.426 GB, free: 2.375 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.0001281/0.6928, allocations: 127 kB / 1.426 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.6929, allocations: 31.7 kB / 1.426 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/0.6937, allocations: 0.5466 MB / 1.426 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6938, allocations: 4 kB / 1.426 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6938, allocations: 4 kB / 1.426 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.6938, allocations: 7.891 kB / 1.426 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.6955, allocations: 1.211 MB / 1.428 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6955, allocations: 0 / 1.428 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.6958, allocations: 68.16 kB / 1.428 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/0.6961, allocations: 146.8 kB / 1.428 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.6962, allocations: 4 kB / 1.428 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.6985, allocations: 3.857 MB / 1.432 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6985, allocations: 4.031 kB / 1.432 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008798/0.6994, allocations: 0.8292 MB / 1.432 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.6996, allocations: 140.2 kB / 1.433 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.6996, allocations: 8 kB / 1.433 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.6999, allocations: 31.97 kB / 1.433 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.7, allocations: 23.09 kB / 1.433 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.7, allocations: 12 kB / 1.433 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000114/0.7001, allocations: 153.2 kB / 1.433 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005834/0.7007, allocations: 159.7 kB / 1.433 GB, free: 11.26 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.0001826/0.7009, allocations: 160.5 kB / 1.433 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.7021, allocations: 1.028 MB / 1.434 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7021, allocations: 0 / 1.434 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.7026, allocations: 430.7 kB / 1.435 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.703, allocations: 46.81 kB / 1.435 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009093/0.7039, allocations: 0.5638 MB / 1.435 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.7043, allocations: 0.8451 MB / 1.436 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/0.7043, allocations: 0 / 1.436 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of Templates: time 0.01004/0.7144, allocations: 6.803 MB / 1.443 GB, free: 1.641 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches