Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.759/1.759, 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.000905/0.000905, allocations: 185.2 kB / 487 MB, free: 5.359 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.117/1.117, allocations: 221.3 MB / 0.7819 GB, free: 1.438 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.0008124/0.0008126, allocations: 96.41 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.601e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1844, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5394/0.7239, allocations: 181.7 MB / 1.383 GB, free: 11.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.7241, allocations: 90.19 kB / 1.383 GB, free: 11.55 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.04881/0.773, allocations: 22.18 MB / 1.404 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.773, allocations: 16 kB / 1.404 GB, free: 9.047 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.0007592/0.7738, allocations: 0.5684 MB / 1.405 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.7738, allocations: 8.031 kB / 1.405 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.7748, allocations: 119.5 kB / 1.405 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.7751, allocations: 283 kB / 1.405 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.7752, allocations: 8 kB / 1.405 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.7752, allocations: 16 kB / 1.405 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003742/0.7756, allocations: 265.2 kB / 1.406 GB, free: 7.832 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.776, allocations: 360.4 kB / 1.406 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.776, allocations: 0 / 1.406 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.7761, allocations: 11.91 kB / 1.406 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.7761, allocations: 35.61 kB / 1.406 GB, free: 7.488 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.7782, allocations: 2.007 MB / 1.408 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.7786, allocations: 288.1 kB / 1.408 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.7789, allocations: 170.4 kB / 1.408 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.917e-05/0.779, allocations: 93.22 kB / 1.409 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.779, allocations: 42.12 kB / 1.409 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.779, allocations: 0 / 1.409 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001957/0.781, allocations: 0.887 MB / 1.409 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.781, allocations: 89.03 kB / 1.41 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.7812, allocations: 198.2 kB / 1.41 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.7812, allocations: 25.7 kB / 1.41 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.7813, allocations: 174.2 kB / 1.41 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.7814, allocations: 111.3 kB / 1.41 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.7814, allocations: 0 / 1.41 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.7815, allocations: 336.6 kB / 1.41 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.7817, allocations: 165.8 kB / 1.41 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.782, allocations: 267.7 kB / 1.411 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.7824, allocations: 228.1 kB / 1.411 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7824, allocations: 0 / 1.411 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001034/0.7834, allocations: 0.6028 MB / 1.412 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003137/0.7837, allocations: 1.217 MB / 1.413 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.7838, allocations: 7.984 kB / 1.413 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000369/0.7841, allocations: 135.8 kB / 1.413 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.7846, allocations: 95.5 kB / 1.413 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.7869, allocations: 3.819 MB / 1.417 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.7872, allocations: 28.09 kB / 1.417 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.7873, allocations: 27.44 kB / 1.417 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.7873, allocations: 7.938 kB / 1.417 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009621/0.7883, allocations: 0.5192 MB / 1.417 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7883, allocations: 4 kB / 1.417 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.7885, allocations: 130 kB / 1.417 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.7889, allocations: 99.34 kB / 1.417 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005913/0.7895, allocations: 1.131 MB / 1.419 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.7898, allocations: 27.97 kB / 1.419 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.7899, allocations: 19.41 kB / 1.419 GB, free: 11.12 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.0001413/0.79, allocations: 116.8 kB / 1.419 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.7901, allocations: 35.62 kB / 1.419 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009327/0.791, allocations: 0.5482 MB / 1.419 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.7911, allocations: 11.91 kB / 1.419 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7911, allocations: 0 / 1.419 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.7911, allocations: 0 / 1.419 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.7928, allocations: 1.224 MB / 1.421 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.7928, allocations: 0 / 1.421 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.7931, allocations: 72.14 kB / 1.421 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.7935, allocations: 142.7 kB / 1.421 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.7935, allocations: 11.44 kB / 1.421 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.7958, allocations: 3.84 MB / 1.424 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7958, allocations: 4.031 kB / 1.424 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008977/0.7967, allocations: 0.8303 MB / 1.425 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.7969, allocations: 144.3 kB / 1.425 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.797, allocations: 4 kB / 1.425 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.7973, allocations: 35.97 kB / 1.425 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.7973, allocations: 23.16 kB / 1.426 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.7974, allocations: 11.19 kB / 1.426 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000117/0.7975, allocations: 158.8 kB / 1.426 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007228/0.7982, allocations: 155.6 kB / 1.426 GB, free: 4 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.0002078/0.7984, allocations: 151.8 kB / 1.426 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.7997, allocations: 1.037 MB / 1.427 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.7997, allocations: 0 / 1.427 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.8002, allocations: 425 kB / 1.427 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.8006, allocations: 43.28 kB / 1.427 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.8016, allocations: 0.576 MB / 1.428 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.802, allocations: 0.8367 MB / 1.429 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/0.802, allocations: 0 / 1.429 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of Templates: time 0.01053/0.8125, allocations: 6.795 MB / 1.435 GB, free: 10.4 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches