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.4/1.4, allocations: 249.3 MB / 261.8 MB, free: 5.875 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.0009481/0.0009481, allocations: 178.1 kB / 321.3 MB, free: 14.66 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.532/1.532, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009029/0.000903, allocations: 86.48 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.064e-05/5.067e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2215, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7763/0.9979, allocations: 173.6 MB / 1.061 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.9982, allocations: 91.69 kB / 1.061 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1099/1.108, allocations: 44.94 MB / 1.105 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.963e-06/1.108, allocations: 0 / 1.105 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.28e-05/1.108, allocations: 16 kB / 1.105 GB, free: 4.543 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.002133/1.11, allocations: 0.9734 MB / 1.106 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/1.11, allocations: 15.98 kB / 1.106 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009891/1.12, allocations: 1.629 MB / 1.108 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/1.122, allocations: 0.6186 MB / 1.108 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/1.122, allocations: 41.3 kB / 1.109 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/1.122, allocations: 55.98 kB / 1.109 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/1.126, allocations: 1.433 MB / 1.11 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/1.126, allocations: 11.84 kB / 1.11 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/1.126, allocations: 27.97 kB / 1.11 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003691/1.126, allocations: 153.3 kB / 1.11 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/1.129, allocations: 1.63 MB / 1.112 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009832/1.139, allocations: 6.662 MB / 1.118 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.14, allocations: 0.9149 MB / 1.119 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008039/1.141, allocations: 0.5839 MB / 1.12 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002068/1.143, allocations: 1.486 MB / 1.121 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.143, allocations: 42.56 kB / 1.121 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/1.143, allocations: 4 kB / 1.121 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.01771/1.161, allocations: 5.654 MB / 1.127 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/1.161, allocations: 86.11 kB / 1.127 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006939/1.162, allocations: 0.5007 MB / 1.127 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/1.162, allocations: 45.7 kB / 1.127 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/1.162, allocations: 411 kB / 1.128 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/1.162, allocations: 374.7 kB / 1.128 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/1.163, allocations: 24 kB / 1.128 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.163, allocations: 386.8 kB / 1.128 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.164, allocations: 0.76 MB / 1.129 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/1.165, allocations: 1.077 MB / 1.13 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/1.167, allocations: 0.873 MB / 1.131 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1.167, allocations: 4 kB / 1.131 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006332/1.173, allocations: 3.016 MB / 1.134 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00147/1.174, allocations: 3.927 MB / 1.138 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.175, allocations: 16 kB / 1.138 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004063/1.179, allocations: 1.178 MB / 1.139 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/1.181, allocations: 463.2 kB / 1.14 GB, free: 324 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/1.192, allocations: 8.994 MB / 1.148 GB, free: 6.895 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/1.194, allocations: 311.5 kB / 1.149 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/1.194, allocations: 63.97 kB / 1.149 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/1.194, allocations: 4 kB / 1.149 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005584/1.2, allocations: 2.73 MB / 1.151 GB, free: 3.781 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.2, allocations: 8.5 kB / 1.151 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/1.203, allocations: 0.9475 MB / 1.152 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/1.205, allocations: 471.2 kB / 1.153 GB, free: 2.352 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.217, allocations: 10.08 MB / 1.163 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/1.219, allocations: 303.6 kB / 1.163 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.219, allocations: 63.91 kB / 1.163 GB, free: 7.375 MB / 0.7761 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.0003847/1.22, allocations: 184.5 kB / 1.163 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.22, allocations: 82.97 kB / 1.163 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006543/1.227, allocations: 2.943 MB / 1.166 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/1.227, allocations: 12 kB / 1.166 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.227, allocations: 4 kB / 1.166 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.227, allocations: 8.438 kB / 1.166 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008658/1.235, allocations: 4.668 MB / 1.171 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.235, allocations: 4 kB / 1.171 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/1.237, allocations: 367.6 kB / 1.171 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003662/1.241, allocations: 1.1 MB / 1.172 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/1.241, allocations: 39.97 kB / 1.172 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/1.254, allocations: 10.48 MB / 1.182 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/1.254, allocations: 12.03 kB / 1.182 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/1.26, allocations: 3.121 MB / 1.185 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008261/1.261, allocations: 347.9 kB / 1.186 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/1.261, allocations: 24 kB / 1.186 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.263, allocations: 315.4 kB / 1.186 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/1.263, allocations: 104.2 kB / 1.186 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.263, allocations: 43.97 kB / 1.186 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005351/1.264, allocations: 397.5 kB / 1.187 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.61e-07/1.264, allocations: 0 / 1.187 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002255/1.266, allocations: 0.6093 MB / 1.187 GB, free: 13.57 MB / 0.8073 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.0003405/1.266, allocations: 158.3 kB / 1.187 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00789/1.274, allocations: 4.35 MB / 1.192 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.274, allocations: 0 / 1.192 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003026/1.277, allocations: 1.693 MB / 1.193 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009132/1.278, allocations: 141.1 kB / 1.193 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008383/1.287, allocations: 2.79 MB / 1.196 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/1.287, allocations: 1.119 MB / 1.197 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002073/1.29, allocations: 0.5499 MB / 1.198 GB, free: 2.484 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/1.29, allocations: 75.38 kB / 1.198 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of SimCode: time 1.242e-06/1.29, allocations: 0 / 1.198 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.03687/1.327, allocations: 25.27 MB / 1.222 GB, free: 9.203 MB / 0.8386 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