Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.ThreePhasesBalanced.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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 99.08 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.000966/0.000966, 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.527/1.527, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003821, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8396/0.84, allocations: 142.3 MB / 0.9535 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.00465/0.8447, allocations: 4.614 MB / 0.958 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004669/0.8494, allocations: 3.749 MB / 0.9617 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003973/0.8498, allocations: 19.97 kB / 0.9617 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.85, allocations: 88.66 kB / 0.9618 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.851, allocations: 448.9 kB / 0.9622 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.8522, allocations: 420.6 kB / 0.9626 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009183/0.8531, allocations: 0.6638 MB / 0.9633 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.8542, allocations: 0.6626 MB / 0.9639 GB, free: 0 / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005863/0.8548, allocations: 333.5 kB / 0.9642 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006482/0.8554, allocations: 386.1 kB / 0.9646 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.449e-05/0.8555, allocations: 35.03 kB / 0.9646 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.8566, allocations: 464.2 kB / 0.9651 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.8569, allocations: 273.4 kB / 0.9653 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.8571, allocations: 154.7 kB / 0.9655 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.8583, allocations: 1.012 MB / 0.9665 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8584, allocations: 4 kB / 0.9665 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8584, allocations: 0.9688 kB / 0.9665 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.8584, allocations: 0 / 0.9665 GB, free: 14.48 MB / 0.7325 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.002028/0.8604, allocations: 1.025 MB / 0.9675 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.8605, allocations: 9.156 kB / 0.9675 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009671/0.8701, allocations: 1.741 MB / 0.9692 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.8718, allocations: 0.604 MB / 0.9698 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.8718, allocations: 45.61 kB / 0.9698 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.872, allocations: 61.88 kB / 0.9699 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005356/0.8774, allocations: 1.904 MB / 0.9717 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.8775, allocations: 5.969 kB / 0.9717 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.8776, allocations: 27.09 kB / 0.9718 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003694/0.878, allocations: 151.9 kB / 0.9719 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008238/0.8862, allocations: 2.607 MB / 0.9745 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.898, allocations: 6.641 MB / 0.9809 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00328/0.9013, allocations: 1.25 MB / 0.9822 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002474/0.9038, allocations: 1.465 MB / 0.9836 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.9039, allocations: 38.56 kB / 0.9836 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.365e-06/0.9039, allocations: 4 kB / 0.9836 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75): time 0.01546/0.9194, allocations: 4.68 MB / 0.9882 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.9195, allocations: 85.11 kB / 0.9883 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008141/0.9203, allocations: 0.5769 MB / 0.9889 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.9204, allocations: 37.7 kB / 0.9889 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.9207, allocations: 422.4 kB / 0.9893 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.9211, allocations: 264.2 kB / 0.9895 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.9212, allocations: 24 kB / 0.9896 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.9214, allocations: 374.8 kB / 0.9899 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.9241, allocations: 0.8766 MB / 0.9908 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/0.9269, allocations: 1.194 MB / 0.9919 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.9297, allocations: 0.9689 MB / 0.9929 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.9297, allocations: 4 kB / 0.9929 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007558/0.9373, allocations: 2.601 MB / 0.9954 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001733/0.9391, allocations: 4.006 MB / 0.9993 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.573e-05/0.9391, allocations: 12 kB / 0.9994 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.9413, allocations: 0.5438 MB / 0.9999 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/0.9433, allocations: 439.2 kB / 1 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007718/0.951, allocations: 5.256 MB / 1.005 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.9532, allocations: 271.6 kB / 1.006 GB, free: 9.191 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.9534, allocations: 63.92 kB / 1.006 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.9534, allocations: 4 kB / 1.006 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006368/0.9598, allocations: 2.284 MB / 1.008 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/0.9599, allocations: 12 kB / 1.008 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007522/0.9606, allocations: 269.6 kB / 1.008 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.9626, allocations: 451.2 kB / 1.009 GB, free: 6.109 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/0.9673, allocations: 4.245 MB / 1.013 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.9693, allocations: 271.6 kB / 1.013 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.9695, allocations: 59.97 kB / 1.013 GB, free: 1.27 MB / 0.7637 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 (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006657/0.9702, allocations: 348.8 kB / 1.013 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.9704, allocations: 75.11 kB / 1.014 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007071/0.9775, allocations: 2.418 MB / 1.016 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.9776, allocations: 8 kB / 1.016 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.9776, allocations: 4 kB / 1.016 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.9776, allocations: 8.078 kB / 1.016 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008845/0.9864, allocations: 3.742 MB / 1.02 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.9865, allocations: 4 kB / 1.02 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.988, allocations: 339.8 kB / 1.02 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.9896, allocations: 485.2 kB / 1.02 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.834e-05/0.9897, allocations: 31.97 kB / 1.02 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006122/0.9959, allocations: 5.044 MB / 1.025 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.9959, allocations: 15.89 kB / 1.025 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006302/1.002, allocations: 2.613 MB / 1.028 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006673/1.003, allocations: 288 kB / 1.028 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/1.003, allocations: 20 kB / 1.028 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.005, allocations: 275.5 kB / 1.028 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.005, allocations: 63.81 kB / 1.029 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/1.005, allocations: 36.64 kB / 1.029 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005108/1.006, allocations: 414.7 kB / 1.029 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.71e-07/1.006, allocations: 0 / 1.029 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001876/1.008, allocations: 460 kB / 1.029 GB, free: 48 kB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (56): * Single equations (assignments): 54 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002832/1.008, allocations: 131.2 kB / 1.03 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009688/1.018, allocations: 3.814 MB / 1.033 GB, free: 12.04 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.018, allocations: 3.938 kB / 1.033 GB, free: 12.04 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003267/1.021, allocations: 1.318 MB / 1.035 GB, free: 10.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/1.022, allocations: 129.5 kB / 1.035 GB, free: 10.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009663/1.031, allocations: 3.333 MB / 1.038 GB, free: 7.168 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/1.032, allocations: 1.039 MB / 1.039 GB, free: 6.098 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001938/1.034, allocations: 0.5216 MB / 1.039 GB, free: 5.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/1.034, allocations: 75.38 kB / 1.04 GB, free: 5.5 MB / 0.795 GB Notification: Performance of SimCode: time 7.71e-07/1.034, allocations: 4 kB / 1.04 GB, free: 5.496 MB / 0.795 GB Notification: Performance of Templates: time 0.02815/1.063, allocations: 16.32 MB / 1.055 GB, free: 5.234 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches