Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") [: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.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001008/0.001008, allocations: 180.4 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.128/1.128, allocations: 221.3 MB / 0.7819 GB, free: 1.469 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.0008339/0.000834, allocations: 100.5 kB / 0.9213 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.721e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1885, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5442/0.7328, allocations: 198.7 MB / 1.399 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.733, allocations: 93.06 kB / 1.399 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.2286/0.9616, allocations: 111.4 MB / 1.508 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.517e-05/0.9617, allocations: 52 kB / 1.508 GB, free: 9.348 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.003941/0.9656, allocations: 2.4 MB / 1.511 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.9657, allocations: 8.031 kB / 1.511 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009692/0.9754, allocations: 1.518 MB / 1.512 GB, free: 5.359 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.9783, allocations: 1.678 MB / 1.514 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-05/0.9784, allocations: 96 kB / 1.514 GB, free: 3.543 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005147/0.979, allocations: 172 kB / 1.514 GB, free: 3.375 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006701/0.9857, allocations: 4.073 MB / 1.518 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007277/0.9929, allocations: 4.494 MB / 1.522 GB, free: 10.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.949e-05/0.993, allocations: 7.938 kB / 1.522 GB, free: 10.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/0.9934, allocations: 3.938 kB / 1.522 GB, free: 10.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002667/0.9936, allocations: 188.9 kB / 1.522 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/1.016, allocations: 22.48 MB / 1.544 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/1.017, allocations: 1.175 MB / 1.546 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/1.019, allocations: 1.176 MB / 1.547 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/1.019, allocations: 117.9 kB / 1.547 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/1.019, allocations: 63.48 kB / 1.547 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=116): time 3.066e-06/1.019, allocations: 0 / 1.547 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=146): time 0.01369/1.033, allocations: 7.211 MB / 1.554 GB, free: 8.055 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/1.033, allocations: 226.9 kB / 1.554 GB, free: 7.785 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/1.034, allocations: 0.9096 MB / 1.555 GB, free: 6.871 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/1.034, allocations: 25.7 kB / 1.555 GB, free: 6.84 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005648/1.035, allocations: 1.184 MB / 1.556 GB, free: 5.637 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/1.035, allocations: 496.8 kB / 1.557 GB, free: 5.145 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.035, allocations: 0 / 1.557 GB, free: 5.145 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.036, allocations: 427 kB / 1.557 GB, free: 4.719 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.037, allocations: 1.301 MB / 1.558 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/1.039, allocations: 1.96 MB / 1.56 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/1.043, allocations: 1.934 MB / 1.562 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.043, allocations: 8 kB / 1.562 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.007413/1.05, allocations: 4.25 MB / 1.566 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002269/1.052, allocations: 8.606 MB / 1.575 GB, free: 1.637 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/1.052, allocations: 28 kB / 1.575 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/1.054, allocations: 0.77 MB / 1.576 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/1.058, allocations: 0.6513 MB / 1.576 GB, free: 172 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/1.069, allocations: 11.76 MB / 1.588 GB, free: 3.715 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002874/1.072, allocations: 299.3 kB / 1.588 GB, free: 3.422 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/1.072, allocations: 119.9 kB / 1.588 GB, free: 3.305 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/1.072, allocations: 4 kB / 1.588 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006886/1.079, allocations: 3.984 MB / 1.592 GB, free: 15.29 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/1.079, allocations: 20.28 kB / 1.592 GB, free: 15.27 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/1.081, allocations: 0.6803 MB / 1.593 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/1.084, allocations: 0.6474 MB / 1.593 GB, free: 13.93 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009414/1.093, allocations: 11.35 MB / 1.604 GB, free: 1.887 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/1.096, allocations: 291.4 kB / 1.605 GB, free: 1.602 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/1.096, allocations: 116 kB / 1.605 GB, free: 1.488 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004668/1.097, allocations: 176.2 kB / 1.605 GB, free: 1.309 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/1.097, allocations: 122.6 kB / 1.605 GB, free: 1.188 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006879/1.104, allocations: 3.623 MB / 1.609 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/1.104, allocations: 19.98 kB / 1.609 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.104, allocations: 12 kB / 1.609 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/1.104, allocations: 11.97 kB / 1.609 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.115, allocations: 6.779 MB / 1.615 GB, free: 6.484 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.115, allocations: 4 kB / 1.615 GB, free: 6.48 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/1.117, allocations: 427.9 kB / 1.616 GB, free: 6.062 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/1.119, allocations: 0.6338 MB / 1.616 GB, free: 5.41 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/1.119, allocations: 31.89 kB / 1.616 GB, free: 5.379 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009943/1.129, allocations: 11.17 MB / 1.627 GB, free: 9.52 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.129, allocations: 8.062 kB / 1.627 GB, free: 9.512 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005412/1.134, allocations: 3.651 MB / 1.631 GB, free: 5.582 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008517/1.135, allocations: 495.4 kB / 1.631 GB, free: 5.078 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/1.136, allocations: 12 kB / 1.631 GB, free: 5.066 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/1.138, allocations: 255.5 kB / 1.631 GB, free: 4.816 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.138, allocations: 92.72 kB / 1.632 GB, free: 4.727 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.138, allocations: 59.95 kB / 1.632 GB, free: 4.668 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0008987/1.139, allocations: 0.6904 MB / 1.632 GB, free: 3.984 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003494/1.143, allocations: 1.016 MB / 1.633 GB, free: 2.969 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000284/1.143, allocations: 139.6 kB / 1.633 GB, free: 2.824 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.00859/1.152, allocations: 6.16 MB / 1.639 GB, free: 12.55 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.152, allocations: 0 / 1.639 GB, free: 12.55 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.00292/1.155, allocations: 2.061 MB / 1.641 GB, free: 10.43 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/1.155, allocations: 130.6 kB / 1.642 GB, free: 10.31 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.171, allocations: 5.517 MB / 1.647 GB, free: 4.652 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002797/1.173, allocations: 2.438 MB / 1.649 GB, free: 2.176 MB / 1.073 GB Notification: Performance of SimCode: time 4.21e-07/1.173, allocations: 0 / 1.649 GB, free: 2.176 MB / 1.073 GB Notification: Performance of Templates: time 0.06404/1.237, allocations: 47.24 MB / 1.695 GB, free: 2.953 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches