Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.325/2.325, allocations: 390.5 MB / 398 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 179.8 kB / 491.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.767/1.767, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008785/0.0008786, allocations: 94.77 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.244e-05/1.246e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2478, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9119/1.16, allocations: 191.6 MB / 1.399 GB, free: 9.074 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.16, allocations: 95.67 kB / 1.4 GB, free: 9.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1292/1.289, allocations: 49.47 MB / 1.448 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.483e-06/1.289, allocations: 0 / 1.448 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.353e-05/1.289, allocations: 23.98 kB / 1.448 GB, free: 15.21 MB / 0.8698 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.002446/1.292, allocations: 0.9729 MB / 1.449 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.292, allocations: 8.031 kB / 1.449 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/1.306, allocations: 1.629 MB / 1.45 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/1.308, allocations: 0.6216 MB / 1.451 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/1.308, allocations: 16 kB / 1.451 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/1.308, allocations: 39.91 kB / 1.451 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003518/1.312, allocations: 1.307 MB / 1.452 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/1.315, allocations: 1.339 MB / 1.454 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-05/1.315, allocations: 7.938 kB / 1.454 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/1.315, allocations: 0 / 1.454 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005138/1.316, allocations: 152.5 kB / 1.454 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/1.329, allocations: 6.563 MB / 1.46 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/1.332, allocations: 0.9014 MB / 1.461 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/1.333, allocations: 0.5578 MB / 1.462 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003303/1.336, allocations: 1.471 MB / 1.463 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/1.336, allocations: 38.06 kB / 1.463 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 5.05e-06/1.336, allocations: 0 / 1.463 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.01594/1.352, allocations: 4.206 MB / 1.467 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/1.352, allocations: 90.11 kB / 1.467 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/1.353, allocations: 475.7 kB / 1.468 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/1.353, allocations: 25.7 kB / 1.468 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/1.354, allocations: 415.4 kB / 1.468 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/1.354, allocations: 352.1 kB / 1.469 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/1.354, allocations: 0 / 1.469 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002189/1.355, allocations: 394.1 kB / 1.469 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/1.356, allocations: 0.728 MB / 1.47 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/1.358, allocations: 1.042 MB / 1.471 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/1.361, allocations: 0.9914 MB / 1.472 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/1.361, allocations: 8 kB / 1.472 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01059/1.372, allocations: 2.942 MB / 1.474 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001883/1.374, allocations: 3.916 MB / 1.478 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/1.374, allocations: 15.94 kB / 1.478 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005676/1.38, allocations: 1.016 MB / 1.479 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/1.383, allocations: 454 kB / 1.48 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/1.399, allocations: 8.704 MB / 1.488 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/1.402, allocations: 287.5 kB / 1.489 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/1.402, allocations: 66.16 kB / 1.489 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.403, allocations: 9.516 kB / 1.489 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00754/1.41, allocations: 2.27 MB / 1.491 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/1.41, allocations: 8 kB / 1.491 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/1.413, allocations: 0.554 MB / 1.491 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/1.416, allocations: 487.2 kB / 1.492 GB, free: 8.117 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/1.43, allocations: 8.348 MB / 1.5 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/1.433, allocations: 271.5 kB / 1.5 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/1.433, allocations: 59.97 kB / 1.5 GB, free: 14.98 MB / 0.9167 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.0005778/1.434, allocations: 137.3 kB / 1.5 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/1.434, allocations: 83.06 kB / 1.5 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.445, allocations: 2.943 MB / 1.503 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/1.445, allocations: 8 kB / 1.503 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.445, allocations: 8 kB / 1.503 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.445, allocations: 3.984 kB / 1.503 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.459, allocations: 4.585 MB / 1.508 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/1.459, allocations: 11.95 kB / 1.508 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.461, allocations: 359.4 kB / 1.508 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004879/1.466, allocations: 1.084 MB / 1.509 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/1.466, allocations: 19.97 kB / 1.509 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/1.485, allocations: 10.11 MB / 1.519 GB, free: 11 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.696e-05/1.485, allocations: 12.08 kB / 1.519 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009896/1.495, allocations: 3.151 MB / 1.522 GB, free: 7.594 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.496, allocations: 343.9 kB / 1.523 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/1.497, allocations: 7.984 kB / 1.523 GB, free: 7.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/1.5, allocations: 319.5 kB / 1.523 GB, free: 6.918 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/1.5, allocations: 96.2 kB / 1.523 GB, free: 6.824 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/1.5, allocations: 47.98 kB / 1.523 GB, free: 6.777 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000661/1.501, allocations: 362.9 kB / 1.523 GB, free: 6.422 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.4e-07/1.501, allocations: 0.5625 kB / 1.523 GB, free: 6.422 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003241/1.504, allocations: 0.5273 MB / 1.524 GB, free: 5.895 MB / 0.9323 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.0003512/1.505, allocations: 134.9 kB / 1.524 GB, free: 5.754 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.515, allocations: 3.989 MB / 1.528 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/1.515, allocations: 0.5625 kB / 1.528 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004721/1.52, allocations: 1.63 MB / 1.53 GB, free: 32 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/1.521, allocations: 112 kB / 1.53 GB, free: 15.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.533, allocations: 2.74 MB / 1.532 GB, free: 13.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007732/1.533, allocations: 1.115 MB / 1.533 GB, free: 11.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002107/1.536, allocations: 0.5576 MB / 1.534 GB, free: 11.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.536, allocations: 75.38 kB / 1.534 GB, free: 11.3 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/1.536, allocations: 0 / 1.534 GB, free: 11.3 MB / 0.948 GB Notification: Performance of Templates: time 0.03814/1.574, allocations: 23.73 MB / 1.557 GB, free: 3.688 MB / 0.9636 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches