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.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.891 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.001027/0.001027, allocations: 176.8 kB / 316.3 MB, free: 3.25 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.504/1.504, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008978/0.0008978, allocations: 91.39 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.122e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2469, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.853/1.1, allocations: 170.6 MB / 1.052 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.1, allocations: 89.94 kB / 1.052 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1039/1.204, allocations: 43.56 MB / 1.094 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/1.204, allocations: 0 / 1.094 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.503e-05/1.204, allocations: 16 kB / 1.095 GB, free: 13.18 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.001724/1.206, allocations: 0.9063 MB / 1.095 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.206, allocations: 12.03 kB / 1.095 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009004/1.215, allocations: 1.554 MB / 1.097 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/1.216, allocations: 0.5518 MB / 1.097 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/1.216, allocations: 20 kB / 1.097 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/1.217, allocations: 39.98 kB / 1.098 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002098/1.219, allocations: 1.228 MB / 1.099 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.221, allocations: 1.264 MB / 1.1 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.221, allocations: 0 / 1.1 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.221, allocations: 4 kB / 1.1 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/1.221, allocations: 96.31 kB / 1.1 GB, free: 8.164 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.008955/1.23, allocations: 6.269 MB / 1.106 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/1.232, allocations: 0.9965 MB / 1.107 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006874/1.232, allocations: 0.5436 MB / 1.108 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002556/1.235, allocations: 2.213 MB / 1.11 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/1.235, allocations: 49.92 kB / 1.11 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.474e-06/1.235, allocations: 0 / 1.11 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.008362/1.243, allocations: 3.603 MB / 1.113 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/1.243, allocations: 199.8 kB / 1.114 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/1.244, allocations: 436.9 kB / 1.114 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/1.244, allocations: 29.64 kB / 1.114 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/1.244, allocations: 386.7 kB / 1.114 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/1.245, allocations: 303.5 kB / 1.115 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/1.245, allocations: 0 / 1.115 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.245, allocations: 382.8 kB / 1.115 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008825/1.246, allocations: 0.6156 MB / 1.116 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/1.247, allocations: 0.8894 MB / 1.117 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.249, allocations: 0.8602 MB / 1.117 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.249, allocations: 4 kB / 1.117 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005511/1.254, allocations: 2.413 MB / 1.12 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001737/1.256, allocations: 3.136 MB / 1.123 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/1.256, allocations: 8 kB / 1.123 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/1.259, allocations: 0.7251 MB / 1.124 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/1.261, allocations: 463.2 kB / 1.124 GB, free: 388 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008107/1.269, allocations: 7.157 MB / 1.131 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/1.271, allocations: 279.4 kB / 1.131 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.272, allocations: 60.05 kB / 1.131 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.272, allocations: 8.062 kB / 1.131 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00336/1.275, allocations: 1.739 MB / 1.133 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.275, allocations: 8.469 kB / 1.133 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/1.276, allocations: 213.6 kB / 1.133 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/1.278, allocations: 0.503 MB / 1.134 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/1.282, allocations: 3.802 MB / 1.137 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/1.284, allocations: 263.4 kB / 1.138 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/1.284, allocations: 64.03 kB / 1.138 GB, free: 1.676 MB / 0.7448 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.0004006/1.284, allocations: 128.7 kB / 1.138 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/1.284, allocations: 75.11 kB / 1.138 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/1.29, allocations: 2.303 MB / 1.14 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.29, allocations: 11.94 kB / 1.14 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.29, allocations: 8 kB / 1.14 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.29, allocations: 3.984 kB / 1.14 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007969/1.298, allocations: 4.13 MB / 1.144 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.298, allocations: 4.625 kB / 1.144 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.3, allocations: 375.3 kB / 1.145 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002893/1.303, allocations: 0.8499 MB / 1.145 GB, free: 9.629 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/1.303, allocations: 27.97 kB / 1.145 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009513/1.312, allocations: 8.223 MB / 1.153 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/1.313, allocations: 7.938 kB / 1.153 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005568/1.318, allocations: 2.712 MB / 1.156 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/1.319, allocations: 320 kB / 1.156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/1.319, allocations: 4 kB / 1.156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.321, allocations: 291.5 kB / 1.157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/1.321, allocations: 91.78 kB / 1.157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/1.321, allocations: 39.97 kB / 1.157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004402/1.322, allocations: 326.9 kB / 1.157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.9e-07/1.322, allocations: 0 / 1.157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00204/1.324, allocations: 463.9 kB / 1.158 GB, free: 12.44 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.0003094/1.324, allocations: 135 kB / 1.158 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005631/1.33, allocations: 3.147 MB / 1.161 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.33, allocations: 0 / 1.161 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/1.332, allocations: 1.331 MB / 1.162 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/1.333, allocations: 94.53 kB / 1.162 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007983/1.341, allocations: 2.503 MB / 1.165 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007908/1.341, allocations: 1.048 MB / 1.166 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002116/1.344, allocations: 0.507 MB / 1.166 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/1.344, allocations: 79.36 kB / 1.166 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/1.344, allocations: 0 / 1.166 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of Templates: time 0.02923/1.373, allocations: 17.94 MB / 1.184 GB, free: 1.48 MB / 0.7917 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