Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") [: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.768/1.768, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009508/0.0009508, allocations: 176.3 kB / 487 MB, free: 5.387 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.113/1.113, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.0008784/0.0008784, allocations: 82.52 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.282e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1866, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5391/0.7258, allocations: 190.7 MB / 1.391 GB, free: 2.656 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.726, allocations: 95.64 kB / 1.392 GB, free: 2.602 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.108/0.834, allocations: 48.96 MB / 1.439 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.693e-05/0.8341, allocations: 16 kB / 1.439 GB, free: 9.277 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001599/0.8357, allocations: 0.9749 MB / 1.44 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.8358, allocations: 8.031 kB / 1.44 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008758/0.8445, allocations: 1.253 MB / 1.442 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.8456, allocations: 0.6229 MB / 1.442 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.8456, allocations: 16 kB / 1.442 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.8458, allocations: 39.94 kB / 1.442 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002058/0.8479, allocations: 1.339 MB / 1.444 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.8496, allocations: 1.389 MB / 1.445 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.8497, allocations: 3.938 kB / 1.445 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.8498, allocations: 4 kB / 1.445 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002738/0.8501, allocations: 136.1 kB / 1.445 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008621/0.8587, allocations: 6.561 MB / 1.451 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/0.8597, allocations: 0.8313 MB / 1.452 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.8604, allocations: 0.5743 MB / 1.453 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/0.8622, allocations: 1.493 MB / 1.454 GB, free: 12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.8622, allocations: 37.38 kB / 1.454 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.8622, allocations: 0 / 1.454 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.009725/0.8719, allocations: 4.174 MB / 1.458 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.872, allocations: 90.05 kB / 1.458 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.8725, allocations: 481.5 kB / 1.459 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/0.8726, allocations: 29.7 kB / 1.459 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.8727, allocations: 365.3 kB / 1.459 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.873, allocations: 348.6 kB / 1.46 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.8731, allocations: 4 kB / 1.46 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8732, allocations: 389.2 kB / 1.46 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009291/0.8742, allocations: 0.7518 MB / 1.461 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.8753, allocations: 1.081 MB / 1.462 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.8771, allocations: 1.016 MB / 1.463 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.8771, allocations: 4 kB / 1.463 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006265/0.8834, allocations: 2.94 MB / 1.466 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/0.8844, allocations: 3.909 MB / 1.469 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.8845, allocations: 16 kB / 1.47 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/0.888, allocations: 0.9543 MB / 1.47 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.8899, allocations: 390.5 kB / 1.471 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00965/0.8996, allocations: 8.364 MB / 1.479 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.9015, allocations: 215.6 kB / 1.479 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.9016, allocations: 61.41 kB / 1.479 GB, free: 5.801 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-06/0.9016, allocations: 4 kB / 1.479 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004341/0.906, allocations: 2.339 MB / 1.482 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.906, allocations: 8.562 kB / 1.482 GB, free: 3.727 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.9076, allocations: 0.5732 MB / 1.482 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.9096, allocations: 411.4 kB / 1.482 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007923/0.9175, allocations: 8.091 MB / 1.49 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.9192, allocations: 191.7 kB / 1.491 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.9194, allocations: 63.97 kB / 1.491 GB, free: 9.938 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002819/0.9197, allocations: 140.6 kB / 1.491 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.9199, allocations: 82.97 kB / 1.491 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006845/0.9267, allocations: 2.995 MB / 1.494 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.9267, allocations: 15.98 kB / 1.494 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9268, allocations: 4 kB / 1.494 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.9268, allocations: 3.984 kB / 1.494 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00827/0.9351, allocations: 4.569 MB / 1.498 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.9351, allocations: 8 kB / 1.498 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.9366, allocations: 296.1 kB / 1.499 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003613/0.9402, allocations: 1.033 MB / 1.5 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.9403, allocations: 15.98 kB / 1.5 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.9516, allocations: 9.705 MB / 1.509 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.9516, allocations: 11.94 kB / 1.509 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005885/0.9575, allocations: 3.108 MB / 1.512 GB, free: 3.062 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.958, allocations: 343.9 kB / 1.512 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.9582, allocations: 8 kB / 1.512 GB, free: 2.699 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/0.9601, allocations: 231.6 kB / 1.513 GB, free: 2.473 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.9602, allocations: 68.2 kB / 1.513 GB, free: 2.406 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.9604, allocations: 43.97 kB / 1.513 GB, free: 2.363 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003949/0.9608, allocations: 362.9 kB / 1.513 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001694/0.9625, allocations: 0.5 MB / 1.514 GB, free: 1.512 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002359/0.9627, allocations: 142.9 kB / 1.514 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006249/0.969, allocations: 3.904 MB / 1.518 GB, free: 13.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.969, allocations: 0 / 1.518 GB, free: 13.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002612/0.9716, allocations: 1.54 MB / 1.519 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/0.9722, allocations: 111.2 kB / 1.519 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00811/0.9803, allocations: 2.648 MB / 1.522 GB, free: 8.961 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009855/0.9813, allocations: 1.184 MB / 1.523 GB, free: 7.75 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/0.9813, allocations: 0 / 1.523 GB, free: 7.75 MB / 0.948 GB Notification: Performance of Templates: time 0.03952/1.021, allocations: 33.1 MB / 1.555 GB, free: 6.723 MB / 0.9792 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches