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.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.941 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.0009642/0.0009642, allocations: 183.4 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.001043/0.001043, allocations: 82.48 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.574e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2198, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7877/1.008, allocations: 174.4 MB / 1.056 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.008, allocations: 88.75 kB / 1.056 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1061/1.114, allocations: 44.6 MB / 1.099 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.202e-06/1.114, allocations: 0 / 1.099 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.56e-05/1.114, allocations: 19.92 kB / 1.099 GB, free: 8.695 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.001813/1.116, allocations: 0.9133 MB / 1.1 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.116, allocations: 12.03 kB / 1.1 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00885/1.125, allocations: 1.547 MB / 1.102 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/1.126, allocations: 0.5562 MB / 1.102 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/1.126, allocations: 20 kB / 1.102 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/1.126, allocations: 36 kB / 1.102 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001932/1.128, allocations: 1.229 MB / 1.103 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/1.13, allocations: 1.258 MB / 1.105 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/1.13, allocations: 3.938 kB / 1.105 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.13, allocations: 4 kB / 1.105 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/1.13, allocations: 107.6 kB / 1.105 GB, free: 3.66 MB / 0.7136 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.008569/1.139, allocations: 6.264 MB / 1.111 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/1.14, allocations: 0.9895 MB / 1.112 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/1.141, allocations: 0.5455 MB / 1.112 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002606/1.144, allocations: 2.204 MB / 1.115 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/1.144, allocations: 58.55 kB / 1.115 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.234e-06/1.144, allocations: 0 / 1.115 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.008308/1.152, allocations: 3.611 MB / 1.118 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.152, allocations: 199.9 kB / 1.118 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/1.153, allocations: 433 kB / 1.119 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.692e-05/1.153, allocations: 25.7 kB / 1.119 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/1.153, allocations: 382.8 kB / 1.119 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/1.153, allocations: 311.4 kB / 1.119 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/1.153, allocations: 0 / 1.119 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.154, allocations: 378.8 kB / 1.12 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008369/1.154, allocations: 0.6233 MB / 1.12 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/1.155, allocations: 0.8894 MB / 1.121 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/1.157, allocations: 0.8641 MB / 1.122 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.157, allocations: 0 / 1.122 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005418/1.163, allocations: 2.417 MB / 1.124 GB, free: 192 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001476/1.164, allocations: 3.132 MB / 1.127 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/1.164, allocations: 8 kB / 1.127 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002797/1.167, allocations: 0.7328 MB / 1.128 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/1.169, allocations: 463.2 kB / 1.129 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0089/1.178, allocations: 7.164 MB / 1.136 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.18, allocations: 279.5 kB / 1.136 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/1.181, allocations: 55.97 kB / 1.136 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.181, allocations: 4 kB / 1.136 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00367/1.184, allocations: 1.736 MB / 1.138 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/1.184, allocations: 8 kB / 1.138 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/1.185, allocations: 209.5 kB / 1.138 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/1.187, allocations: 0.4955 MB / 1.138 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00386/1.191, allocations: 3.813 MB / 1.142 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.193, allocations: 267.5 kB / 1.142 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/1.193, allocations: 55.97 kB / 1.142 GB, free: 12.91 MB / 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.0004277/1.194, allocations: 128.7 kB / 1.143 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/1.194, allocations: 71.11 kB / 1.143 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005814/1.2, allocations: 2.311 MB / 1.145 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.2, allocations: 12 kB / 1.145 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.2, allocations: 4 kB / 1.145 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.2, allocations: 11.94 kB / 1.145 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/1.208, allocations: 4.131 MB / 1.149 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.208, allocations: 4 kB / 1.149 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.21, allocations: 363.4 kB / 1.149 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002994/1.213, allocations: 0.8581 MB / 1.15 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/1.213, allocations: 23.91 kB / 1.15 GB, free: 4.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009636/1.223, allocations: 8.223 MB / 1.158 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/1.223, allocations: 4 kB / 1.158 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/1.229, allocations: 2.724 MB / 1.161 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/1.229, allocations: 312.1 kB / 1.161 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.23, allocations: 8 kB / 1.161 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.231, allocations: 299.4 kB / 1.161 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/1.232, allocations: 83.78 kB / 1.161 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.232, allocations: 43.97 kB / 1.162 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004528/1.232, allocations: 330.9 kB / 1.162 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.71e-07/1.232, allocations: 0 / 1.162 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002135/1.234, allocations: 456 kB / 1.162 GB, free: 7.676 MB / 0.7761 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.0002994/1.235, allocations: 138.9 kB / 1.162 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005554/1.24, allocations: 3.147 MB / 1.165 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.24, allocations: 0 / 1.165 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/1.242, allocations: 1.324 MB / 1.167 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/1.243, allocations: 93.8 kB / 1.167 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008128/1.251, allocations: 2.516 MB / 1.169 GB, free: 284 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/1.252, allocations: 1.048 MB / 1.17 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002127/1.254, allocations: 0.5073 MB / 1.171 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/1.255, allocations: 75.38 kB / 1.171 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of SimCode: time 7.62e-07/1.255, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of Templates: time 0.02696/1.282, allocations: 17.95 MB / 1.188 GB, free: 12.68 MB / 0.8073 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