Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.462/1.462, allocations: 249.3 MB / 261.8 MB, free: 6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 166.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.000985/0.0009848, allocations: 88.16 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.163e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2403, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8232/1.064, allocations: 174.1 MB / 1.062 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/1.064, allocations: 91.88 kB / 1.062 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1074/1.171, allocations: 44.78 MB / 1.106 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.302e-06/1.171, allocations: 0 / 1.106 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.003e-05/1.171, allocations: 16 kB / 1.106 GB, free: 4.152 MB / 0.7136 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.001807/1.173, allocations: 0.9151 MB / 1.107 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.173, allocations: 8.031 kB / 1.107 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009141/1.182, allocations: 1.543 MB / 1.108 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/1.183, allocations: 0.5536 MB / 1.109 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/1.183, allocations: 49.3 kB / 1.109 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/1.184, allocations: 59.98 kB / 1.109 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/1.186, allocations: 1.352 MB / 1.11 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/1.186, allocations: 4 kB / 1.11 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.186, allocations: 27.98 kB / 1.11 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/1.186, allocations: 101.2 kB / 1.11 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/1.188, allocations: 1.496 MB / 1.112 GB, free: 13.87 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.008403/1.197, allocations: 6.375 MB / 1.118 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/1.198, allocations: 1.027 MB / 1.119 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/1.199, allocations: 0.5595 MB / 1.119 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002439/1.202, allocations: 2.238 MB / 1.122 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/1.202, allocations: 54.5 kB / 1.122 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.234e-06/1.202, allocations: 0 / 1.122 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.01268/1.214, allocations: 4.567 MB / 1.126 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/1.215, allocations: 195.9 kB / 1.126 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/1.215, allocations: 463.7 kB / 1.127 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.955e-05/1.215, allocations: 41.7 kB / 1.127 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/1.216, allocations: 390.7 kB / 1.127 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/1.216, allocations: 323.4 kB / 1.127 GB, free: 13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/1.216, allocations: 28 kB / 1.127 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000185/1.216, allocations: 382.7 kB / 1.128 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009731/1.217, allocations: 0.639 MB / 1.128 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.218, allocations: 0.9232 MB / 1.129 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.219, allocations: 0.7293 MB / 1.13 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.219, allocations: 0 / 1.13 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005276/1.225, allocations: 2.471 MB / 1.132 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001164/1.226, allocations: 3.136 MB / 1.136 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.226, allocations: 12 kB / 1.136 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/1.229, allocations: 0.9084 MB / 1.136 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/1.232, allocations: 463.2 kB / 1.137 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008803/1.24, allocations: 7.394 MB / 1.144 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.243, allocations: 299.5 kB / 1.144 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/1.243, allocations: 59.97 kB / 1.144 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.243, allocations: 9.031 kB / 1.144 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004642/1.248, allocations: 2.185 MB / 1.147 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/1.248, allocations: 8 kB / 1.147 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/1.25, allocations: 0.6198 MB / 1.147 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/1.252, allocations: 487.2 kB / 1.148 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007953/1.26, allocations: 6.678 MB / 1.154 GB, free: 364 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/1.262, allocations: 295.4 kB / 1.154 GB, free: 68 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/1.263, allocations: 60.03 kB / 1.155 GB, free: 8 kB / 0.7605 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 () * 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.0003915/1.263, allocations: 171.2 kB / 1.155 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/1.263, allocations: 71.14 kB / 1.155 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005375/1.269, allocations: 2.283 MB / 1.157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.269, allocations: 8 kB / 1.157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.269, allocations: 8 kB / 1.157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/1.269, allocations: 7.969 kB / 1.157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007756/1.277, allocations: 4.219 MB / 1.161 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.277, allocations: 8 kB / 1.161 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/1.278, allocations: 355.4 kB / 1.161 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002986/1.281, allocations: 0.8619 MB / 1.162 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.281, allocations: 39.91 kB / 1.162 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009823/1.291, allocations: 8.591 MB / 1.171 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.291, allocations: 4 kB / 1.171 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005359/1.297, allocations: 2.693 MB / 1.173 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/1.297, allocations: 312 kB / 1.174 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/1.297, allocations: 23.98 kB / 1.174 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/1.299, allocations: 291.5 kB / 1.174 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/1.3, allocations: 87.78 kB / 1.174 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/1.3, allocations: 39.97 kB / 1.174 GB, free: 11 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004693/1.3, allocations: 361.5 kB / 1.174 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.71e-07/1.3, allocations: 0 / 1.174 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001919/1.302, allocations: 0.5156 MB / 1.175 GB, free: 10.13 MB / 0.7917 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 () * 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.0002594/1.302, allocations: 155 kB / 1.175 GB, free: 9.965 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00651/1.309, allocations: 3.624 MB / 1.179 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.309, allocations: 0 / 1.179 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/1.311, allocations: 1.385 MB / 1.18 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/1.312, allocations: 103.5 kB / 1.18 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008395/1.321, allocations: 2.572 MB / 1.183 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/1.321, allocations: 1.048 MB / 1.184 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001982/1.323, allocations: 0.5022 MB / 1.184 GB, free: 484 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/1.324, allocations: 75.38 kB / 1.184 GB, free: 408 kB / 0.7917 GB Notification: Performance of SimCode: time 1.152e-06/1.324, allocations: 0 / 1.184 GB, free: 408 kB / 0.7917 GB Notification: Performance of Templates: time 0.02852/1.352, allocations: 19.31 MB / 1.203 GB, free: 13.1 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches