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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009774, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.771/2.771, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 15.98 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8266, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005632/0.8322, allocations: 4.545 MB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005824/0.8381, allocations: 3.752 MB / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.8387, allocations: 15.88 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.8389, allocations: 91.36 kB / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.8402, allocations: 454.6 kB / 1.029 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.8415, allocations: 419 kB / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009141/0.8424, allocations: 0.6528 MB / 1.03 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.8435, allocations: 0.6677 MB / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000461/0.844, allocations: 338.9 kB / 1.031 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.8445, allocations: 382.6 kB / 1.032 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.491e-05/0.8446, allocations: 36 kB / 1.032 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.8457, allocations: 455.3 kB / 1.032 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.846, allocations: 275.2 kB / 1.033 GB, free: 5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.8461, allocations: 165.3 kB / 1.033 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.8472, allocations: 1.019 MB / 1.034 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.8472, allocations: 0 / 1.034 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8472, allocations: 0 / 1.034 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.8472, allocations: 0 / 1.034 GB, free: 3.812 MB / 0.7794 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.001811/0.849, allocations: 1.024 MB / 1.035 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8491, allocations: 11.98 kB / 1.035 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009447/0.8585, allocations: 1.742 MB / 1.036 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.8602, allocations: 0.5914 MB / 1.037 GB, free: 360 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.8602, allocations: 49.25 kB / 1.037 GB, free: 308 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.8604, allocations: 63.95 kB / 1.037 GB, free: 244 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005399/0.8658, allocations: 1.901 MB / 1.039 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.8659, allocations: 11.84 kB / 1.039 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.8661, allocations: 35.92 kB / 1.039 GB, free: 14.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003954/0.8665, allocations: 149.4 kB / 1.039 GB, free: 14.08 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008144/0.8746, allocations: 2.612 MB / 1.042 GB, free: 11.46 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.8865, allocations: 6.653 MB / 1.048 GB, free: 4.441 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.8899, allocations: 1.256 MB / 1.049 GB, free: 3.168 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002889/0.8929, allocations: 1.488 MB / 1.051 GB, free: 1.617 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.8929, allocations: 42.5 kB / 1.051 GB, free: 1.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=73): time 3.677e-06/0.8929, allocations: 0 / 1.051 GB, free: 1.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=107): time 0.02851/0.9215, allocations: 8.241 MB / 1.059 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.9216, allocations: 90.11 kB / 1.059 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/0.9225, allocations: 0.5692 MB / 1.06 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.9227, allocations: 45.7 kB / 1.06 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.923, allocations: 419 kB / 1.06 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/0.9235, allocations: 370.6 kB / 1.06 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.9236, allocations: 24 kB / 1.06 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.9239, allocations: 394.7 kB / 1.061 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/0.927, allocations: 1.103 MB / 1.062 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.9306, allocations: 1.448 MB / 1.063 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.9342, allocations: 1.222 MB / 1.064 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.9342, allocations: 4 kB / 1.065 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01207/0.9463, allocations: 3.878 MB / 1.068 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.002522/0.9489, allocations: 4.014 MB / 1.072 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/0.949, allocations: 8 kB / 1.072 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005771/0.9547, allocations: 1.392 MB / 1.074 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.9572, allocations: 459.2 kB / 1.074 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.9764, allocations: 11.56 MB / 1.085 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/0.9793, allocations: 311.6 kB / 1.086 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/0.9797, allocations: 63.97 kB / 1.086 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.9797, allocations: 4.375 kB / 1.086 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01101/0.9908, allocations: 3.569 MB / 1.089 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.836e-05/0.9909, allocations: 12 kB / 1.089 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004222/0.9951, allocations: 1.096 MB / 1.09 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.9974, allocations: 475.2 kB / 1.091 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/1.014, allocations: 10.63 MB / 1.101 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.016, allocations: 311.5 kB / 1.101 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003703/1.017, allocations: 67.97 kB / 1.101 GB, free: 12.14 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.001027/1.018, allocations: 376.7 kB / 1.102 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/1.018, allocations: 83.06 kB / 1.102 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.03, allocations: 3.762 MB / 1.106 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/1.03, allocations: 12.09 kB / 1.106 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.773e-05/1.03, allocations: 11.98 kB / 1.106 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/1.03, allocations: 11.98 kB / 1.106 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/1.044, allocations: 5.482 MB / 1.111 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.887e-05/1.044, allocations: 8 kB / 1.111 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.046, allocations: 364 kB / 1.111 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004825/1.051, allocations: 1.248 MB / 1.112 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/1.051, allocations: 31.97 kB / 1.113 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/1.067, allocations: 11.08 MB / 1.123 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/1.067, allocations: 11.97 kB / 1.123 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.079, allocations: 3.942 MB / 1.127 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009933/1.08, allocations: 335.9 kB / 1.128 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/1.08, allocations: 32.98 kB / 1.128 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.082, allocations: 315.5 kB / 1.128 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/1.083, allocations: 104.2 kB / 1.128 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/1.083, allocations: 47.97 kB / 1.128 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007993/1.084, allocations: 394.8 kB / 1.128 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.21e-07/1.084, allocations: 4 kB / 1.128 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003859/1.088, allocations: 0.5898 MB / 1.129 GB, free: 14.95 MB / 0.8887 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 () * Number of clocked 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.0005922/1.088, allocations: 143 kB / 1.129 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01714/1.105, allocations: 5.708 MB / 1.135 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-05/1.106, allocations: 4 kB / 1.135 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006828/1.112, allocations: 2.126 MB / 1.137 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.114, allocations: 139.5 kB / 1.137 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/1.126, allocations: 3.811 MB / 1.141 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.127, allocations: 1.133 MB / 1.142 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002474/1.129, allocations: 0.5344 MB / 1.142 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/1.13, allocations: 79.39 kB / 1.142 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of SimCode: time 9.62e-07/1.13, allocations: 0 / 1.142 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of Templates: time 0.04627/1.176, allocations: 25.9 MB / 1.168 GB, free: 7.219 MB / 0.92 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