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.ACACTransformerFull.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.ACACTransformerFull,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.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,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.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.5 MB / 257 MB, free: 6.922 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.001041/0.001041, allocations: 172.9 kB / 316.3 MB, free: 3.203 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.595/1.595, allocations: 205.3 MB / 0.5671 GB, free: 15.77 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.001084/0.001084, allocations: 74.56 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.764e-05/1.763e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2412, allocations: 106.3 MB / 0.8852 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.831/1.072, allocations: 173.9 MB / 1.055 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.073, allocations: 90.12 kB / 1.055 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1055/1.178, allocations: 44.75 MB / 1.099 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/1.178, allocations: 0 / 1.099 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.967e-05/1.178, allocations: 16 kB / 1.099 GB, free: 8.961 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001921/1.18, allocations: 0.9798 MB / 1.1 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.18, allocations: 8.031 kB / 1.1 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009523/1.19, allocations: 1.629 MB / 1.101 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/1.191, allocations: 0.6249 MB / 1.102 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/1.191, allocations: 16 kB / 1.102 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/1.191, allocations: 43.69 kB / 1.102 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002087/1.194, allocations: 1.295 MB / 1.103 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/1.195, allocations: 1.341 MB / 1.105 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/1.195, allocations: 15.83 kB / 1.105 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/1.196, allocations: 3.953 kB / 1.105 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003307/1.196, allocations: 143.8 kB / 1.105 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009247/1.205, allocations: 6.568 MB / 1.111 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/1.207, allocations: 0.8911 MB / 1.112 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007364/1.207, allocations: 0.5613 MB / 1.113 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/1.209, allocations: 1.456 MB / 1.114 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/1.209, allocations: 46.5 kB / 1.114 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 1.934e-06/1.209, allocations: 4 kB / 1.114 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.01016/1.22, allocations: 4.21 MB / 1.118 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.22, allocations: 94.11 kB / 1.118 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/1.22, allocations: 474 kB / 1.119 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/1.221, allocations: 25.7 kB / 1.119 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/1.221, allocations: 411.1 kB / 1.119 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/1.221, allocations: 350.7 kB / 1.12 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.221, allocations: 4 kB / 1.12 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002059/1.222, allocations: 394.8 kB / 1.12 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/1.223, allocations: 0.721 MB / 1.121 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/1.224, allocations: 1.051 MB / 1.122 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/1.226, allocations: 0.9958 MB / 1.123 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/1.226, allocations: 4 kB / 1.123 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006865/1.233, allocations: 2.942 MB / 1.125 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002295/1.235, allocations: 3.916 MB / 1.129 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/1.235, allocations: 16 kB / 1.129 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003918/1.239, allocations: 1.002 MB / 1.13 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/1.242, allocations: 463.2 kB / 1.131 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/1.253, allocations: 8.697 MB / 1.139 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.255, allocations: 291.4 kB / 1.14 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/1.255, allocations: 67.95 kB / 1.14 GB, free: 40 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.256, allocations: 4 kB / 1.14 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005115/1.261, allocations: 2.278 MB / 1.142 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/1.261, allocations: 8 kB / 1.142 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/1.262, allocations: 0.5502 MB / 1.142 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/1.264, allocations: 491.1 kB / 1.143 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009472/1.274, allocations: 8.344 MB / 1.151 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.276, allocations: 267.6 kB / 1.151 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/1.277, allocations: 63.97 kB / 1.151 GB, free: 3.562 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005487/1.277, allocations: 133.2 kB / 1.151 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/1.277, allocations: 86.91 kB / 1.151 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006987/1.284, allocations: 2.947 MB / 1.154 GB, free: 376 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.284, allocations: 12 kB / 1.154 GB, free: 364 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/1.285, allocations: 4 kB / 1.154 GB, free: 360 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.285, allocations: 3.984 kB / 1.154 GB, free: 356 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009215/1.294, allocations: 4.576 MB / 1.159 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.294, allocations: 8 kB / 1.159 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.295, allocations: 368.1 kB / 1.159 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/1.299, allocations: 1.092 MB / 1.16 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.299, allocations: 19.97 kB / 1.16 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/1.312, allocations: 10.11 MB / 1.17 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.361e-05/1.312, allocations: 7.938 kB / 1.17 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006802/1.319, allocations: 3.147 MB / 1.173 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007882/1.32, allocations: 336.2 kB / 1.174 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/1.32, allocations: 8 kB / 1.174 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.322, allocations: 327.3 kB / 1.174 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/1.323, allocations: 100.2 kB / 1.174 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.323, allocations: 47.97 kB / 1.174 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005533/1.323, allocations: 354.9 kB / 1.174 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.8e-07/1.323, allocations: 0 / 1.174 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002841/1.326, allocations: 0.5312 MB / 1.175 GB, free: 10.48 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003618/1.327, allocations: 134.9 kB / 1.175 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008528/1.335, allocations: 3.992 MB / 1.179 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-05/1.335, allocations: 0 / 1.179 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003936/1.339, allocations: 1.631 MB / 1.181 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/1.341, allocations: 124.7 kB / 1.181 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009053/1.35, allocations: 2.734 MB / 1.183 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009496/1.351, allocations: 1.119 MB / 1.184 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002487/1.353, allocations: 0.5577 MB / 1.185 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/1.353, allocations: 79.25 kB / 1.185 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/1.354, allocations: 0 / 1.185 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of Templates: time 0.04218/1.396, allocations: 23.72 MB / 1.208 GB, free: 8.246 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches