Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 251.9 MB / 266.9 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 186.3 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008791/0.0008791, allocations: 101.5 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 8.844 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2284, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7592/0.9876, allocations: 170.4 MB / 1.067 GB, free: 154.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/0.9881, allocations: 95.39 kB / 1.067 GB, free: 154.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1088/1.097, allocations: 44.02 MB / 1.11 GB, free: 123.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.097, allocations: 4 kB / 1.11 GB, free: 123.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.007e-05/1.097, allocations: 20 kB / 1.11 GB, free: 123.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002868/1.1, allocations: 0.9467 MB / 1.111 GB, free: 122.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.1, allocations: 15.98 kB / 1.111 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008993/1.109, allocations: 1.551 MB / 1.112 GB, free: 121 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/1.111, allocations: 0.5482 MB / 1.113 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/1.111, allocations: 45.3 kB / 1.113 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/1.111, allocations: 67.92 kB / 1.113 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004698/1.116, allocations: 1.839 MB / 1.115 GB, free: 118.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/1.116, allocations: 4 kB / 1.115 GB, free: 118.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/1.116, allocations: 27.98 kB / 1.115 GB, free: 118.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/1.116, allocations: 101.5 kB / 1.115 GB, free: 118.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007215/1.123, allocations: 2.476 MB / 1.117 GB, free: 115.7 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00841/1.132, allocations: 6.384 MB / 1.123 GB, free: 109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/1.135, allocations: 1.359 MB / 1.125 GB, free: 107.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002424/1.137, allocations: 2.236 MB / 1.127 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/1.137, allocations: 42.5 kB / 1.127 GB, free: 105.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.354e-06/1.137, allocations: 0 / 1.127 GB, free: 105.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.0185/1.156, allocations: 6.429 MB / 1.133 GB, free: 98.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/1.156, allocations: 203.8 kB / 1.133 GB, free: 98.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/1.156, allocations: 468.9 kB / 1.134 GB, free: 98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/1.157, allocations: 41.7 kB / 1.134 GB, free: 97.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/1.157, allocations: 386.7 kB / 1.134 GB, free: 97.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/1.157, allocations: 323.3 kB / 1.135 GB, free: 97.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/1.157, allocations: 24 kB / 1.135 GB, free: 97.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.157, allocations: 386.8 kB / 1.135 GB, free: 96.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/1.159, allocations: 0.9899 MB / 1.136 GB, free: 95.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/1.162, allocations: 1.27 MB / 1.137 GB, free: 94.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/1.164, allocations: 1.083 MB / 1.138 GB, free: 93.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/1.164, allocations: 4 kB / 1.138 GB, free: 93.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007707/1.172, allocations: 3.209 MB / 1.141 GB, free: 90.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008614/1.173, allocations: 3.138 MB / 1.144 GB, free: 86.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/1.173, allocations: 8 kB / 1.144 GB, free: 86.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/1.176, allocations: 0.9749 MB / 1.145 GB, free: 85.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/1.178, allocations: 471.2 kB / 1.146 GB, free: 85.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/1.185, allocations: 7.581 MB / 1.153 GB, free: 77.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/1.188, allocations: 291.6 kB / 1.153 GB, free: 77.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/1.188, allocations: 67.95 kB / 1.154 GB, free: 76.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.188, allocations: 4 kB / 1.154 GB, free: 76.94 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0072/1.195, allocations: 2.926 MB / 1.156 GB, free: 74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/1.195, allocations: 8 kB / 1.156 GB, free: 74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002359/1.198, allocations: 0.6856 MB / 1.157 GB, free: 73.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/1.2, allocations: 483.2 kB / 1.158 GB, free: 72.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006024/1.206, allocations: 6.85 MB / 1.164 GB, free: 65.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/1.208, allocations: 299.5 kB / 1.164 GB, free: 65.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.208, allocations: 63.95 kB / 1.165 GB, free: 65.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006017/1.208, allocations: 360.7 kB / 1.165 GB, free: 64.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/1.209, allocations: 75.16 kB / 1.165 GB, free: 64.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007676/1.216, allocations: 3.012 MB / 1.168 GB, free: 61.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.216, allocations: 12 kB / 1.168 GB, free: 61.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/1.216, allocations: 4 kB / 1.168 GB, free: 61.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.216, allocations: 11.97 kB / 1.168 GB, free: 61.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/1.226, allocations: 4.934 MB / 1.173 GB, free: 56.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.227, allocations: 8 kB / 1.173 GB, free: 56.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.228, allocations: 359.4 kB / 1.173 GB, free: 56.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003221/1.231, allocations: 0.9322 MB / 1.174 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.231, allocations: 35.97 kB / 1.174 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008269/1.24, allocations: 8.908 MB / 1.183 GB, free: 45.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.24, allocations: 4 kB / 1.183 GB, free: 45.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007816/1.248, allocations: 3.433 MB / 1.186 GB, free: 42.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/1.248, allocations: 316 kB / 1.186 GB, free: 41.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/1.248, allocations: 24 kB / 1.186 GB, free: 41.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.25, allocations: 287.5 kB / 1.187 GB, free: 41.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/1.25, allocations: 95.72 kB / 1.187 GB, free: 41.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/1.25, allocations: 35.97 kB / 1.187 GB, free: 41.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003979/1.251, allocations: 366.8 kB / 1.187 GB, free: 41.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.251, allocations: 0 / 1.187 GB, free: 41.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001948/1.253, allocations: 0.5273 MB / 1.188 GB, free: 40.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002646/1.253, allocations: 141.7 kB / 1.188 GB, free: 40.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01059/1.264, allocations: 4.683 MB / 1.192 GB, free: 35.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/1.264, allocations: 4 kB / 1.192 GB, free: 35.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00354/1.267, allocations: 1.749 MB / 1.194 GB, free: 33.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008952/1.268, allocations: 105.8 kB / 1.194 GB, free: 33.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/1.277, allocations: 3.51 MB / 1.198 GB, free: 30.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/1.278, allocations: 1.047 MB / 1.199 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001866/1.28, allocations: 498.2 kB / 1.199 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/1.28, allocations: 83.31 kB / 1.199 GB, free: 28.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.472e-06/1.28, allocations: 0 / 1.199 GB, free: 28.48 MB / 0.698 GB Notification: Performance of Templates: time 0.02419/1.304, allocations: 18.77 MB / 1.218 GB, free: 9.762 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches