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.407/1.407, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001463/0.001463, allocations: 180.8 kB / 326.5 MB, free: 2.258 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.971/1.971, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008488/0.0008488, allocations: 84.39 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003656, allocations: 10.94 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2587, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8467/1.105, allocations: 174.2 MB / 1.07 GB, free: 64.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004935/1.106, allocations: 93.5 kB / 1.07 GB, free: 64.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1164/1.222, allocations: 45.08 MB / 1.114 GB, free: 58.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/1.223, allocations: 0 / 1.114 GB, free: 58.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.012e-05/1.223, allocations: 19.36 kB / 1.114 GB, free: 58.86 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.002919/1.226, allocations: 0.9594 MB / 1.115 GB, free: 58.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.226, allocations: 11.62 kB / 1.115 GB, free: 58.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008847/1.234, allocations: 1.553 MB / 1.117 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/1.236, allocations: 0.5465 MB / 1.117 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/1.236, allocations: 50.42 kB / 1.117 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/1.237, allocations: 65.36 kB / 1.117 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004938/1.242, allocations: 1.837 MB / 1.119 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/1.242, allocations: 0 / 1.119 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/1.242, allocations: 29.52 kB / 1.119 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/1.242, allocations: 107.1 kB / 1.119 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00691/1.249, allocations: 2.48 MB / 1.122 GB, free: 55.48 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.009448/1.259, allocations: 6.38 MB / 1.128 GB, free: 50.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/1.262, allocations: 1.351 MB / 1.129 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002722/1.265, allocations: 2.235 MB / 1.132 GB, free: 48.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/1.265, allocations: 53.41 kB / 1.132 GB, free: 48.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.785e-06/1.265, allocations: 0 / 1.132 GB, free: 48.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.02019/1.285, allocations: 6.413 MB / 1.138 GB, free: 46.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/1.285, allocations: 207.5 kB / 1.138 GB, free: 46.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006968/1.286, allocations: 471.5 kB / 1.138 GB, free: 45.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/1.286, allocations: 38.61 kB / 1.139 GB, free: 45.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/1.286, allocations: 398.4 kB / 1.139 GB, free: 45.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/1.286, allocations: 324.2 kB / 1.139 GB, free: 45.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/1.287, allocations: 27.06 kB / 1.139 GB, free: 45.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.287, allocations: 373.3 kB / 1.14 GB, free: 45.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/1.289, allocations: 0.9964 MB / 1.141 GB, free: 44.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002651/1.292, allocations: 1.276 MB / 1.142 GB, free: 44.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/1.295, allocations: 1.081 MB / 1.143 GB, free: 44.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/1.295, allocations: 3.938 kB / 1.143 GB, free: 44.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008549/1.303, allocations: 3.204 MB / 1.146 GB, free: 43.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007165/1.304, allocations: 3.139 MB / 1.149 GB, free: 39.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/1.304, allocations: 7.812 kB / 1.149 GB, free: 39.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/1.308, allocations: 0.9748 MB / 1.15 GB, free: 39.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/1.31, allocations: 464.2 kB / 1.15 GB, free: 39.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007123/1.317, allocations: 7.581 MB / 1.158 GB, free: 34.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/1.319, allocations: 309.9 kB / 1.158 GB, free: 33.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000345/1.32, allocations: 57.28 kB / 1.158 GB, free: 33.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.32, allocations: 6.875 kB / 1.158 GB, free: 33.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008116/1.328, allocations: 2.931 MB / 1.161 GB, free: 33.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/1.328, allocations: 7.812 kB / 1.161 GB, free: 33.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/1.33, allocations: 0.6829 MB / 1.162 GB, free: 32.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/1.333, allocations: 483 kB / 1.162 GB, free: 32.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006701/1.339, allocations: 6.852 MB / 1.169 GB, free: 28.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.342, allocations: 305.3 kB / 1.169 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/1.342, allocations: 61.09 kB / 1.169 GB, free: 28.02 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.001071/1.343, allocations: 354.9 kB / 1.17 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/1.344, allocations: 74.25 kB / 1.17 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008487/1.353, allocations: 3.025 MB / 1.173 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.353, allocations: 11.78 kB / 1.173 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/1.353, allocations: 7.812 kB / 1.173 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/1.353, allocations: 3.984 kB / 1.173 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.364, allocations: 4.934 MB / 1.177 GB, free: 24.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.364, allocations: 8.031 kB / 1.177 GB, free: 24.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/1.365, allocations: 357.3 kB / 1.178 GB, free: 24.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/1.369, allocations: 0.9382 MB / 1.179 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/1.369, allocations: 30.53 kB / 1.179 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009004/1.378, allocations: 8.903 MB / 1.187 GB, free: 17.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/1.378, allocations: 14.22 kB / 1.187 GB, free: 17.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008303/1.386, allocations: 3.427 MB / 1.191 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000908/1.387, allocations: 319.8 kB / 1.191 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/1.388, allocations: 23.97 kB / 1.191 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.39, allocations: 286.5 kB / 1.191 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/1.39, allocations: 93.73 kB / 1.192 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.39, allocations: 39.16 kB / 1.192 GB, free: 15.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000572/1.391, allocations: 366.7 kB / 1.192 GB, free: 15.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.212e-06/1.391, allocations: 0 / 1.192 GB, free: 15.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003079/1.394, allocations: 0.5228 MB / 1.192 GB, free: 15.71 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.0003625/1.394, allocations: 150.8 kB / 1.193 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.406, allocations: 4.677 MB / 1.197 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.406, allocations: 0 / 1.197 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003605/1.409, allocations: 1.752 MB / 1.199 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/1.41, allocations: 104.9 kB / 1.199 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009557/1.42, allocations: 3.525 MB / 1.202 GB, free: 7.816 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/1.421, allocations: 1.044 MB / 1.203 GB, free: 6.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001948/1.423, allocations: 0.4904 MB / 1.204 GB, free: 6.273 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/1.423, allocations: 79.75 kB / 1.204 GB, free: 6.199 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/1.423, allocations: 0 / 1.204 GB, free: 6.199 MB / 0.698 GB Notification: Performance of Templates: time 0.03124/1.454, allocations: 18.77 MB / 1.222 GB, free: 3.484 MB / 0.7136 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