Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001311/0.001312, allocations: 103 kB / 15.06 MB, free: 1.098 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.001688/0.001688, allocations: 173.3 kB / 15.95 MB, free: 212 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.536/1.536, allocations: 223.2 MB / 239.9 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 436.5 MB / 0.7104 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003729, allocations: 12 kB / 0.8708 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.8178, allocations: 153.6 MB / 1.021 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.005647/0.8235, allocations: 4.624 MB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006312/0.8298, allocations: 3.756 MB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.8305, allocations: 15.88 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.8308, allocations: 87.36 kB / 1.029 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.8323, allocations: 430.7 kB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.8338, allocations: 430 kB / 1.03 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.8351, allocations: 0.6528 MB / 1.031 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.8363, allocations: 0.6641 MB / 1.031 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005737/0.8368, allocations: 334.8 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.8375, allocations: 382.6 kB / 1.032 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.8375, allocations: 36 kB / 1.032 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.8387, allocations: 463.3 kB / 1.032 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.8389, allocations: 275.2 kB / 1.033 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.8391, allocations: 161.3 kB / 1.033 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.8404, allocations: 1.011 MB / 1.034 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8405, allocations: 0 / 1.034 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8405, allocations: 4 kB / 1.034 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.8405, allocations: 4 kB / 1.034 GB, free: 3.664 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.002157/0.8427, allocations: 1.019 MB / 1.035 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.8427, allocations: 11.97 kB / 1.035 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009973/0.8527, allocations: 1.746 MB / 1.036 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.8543, allocations: 0.5992 MB / 1.037 GB, free: 204 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.8544, allocations: 45.25 kB / 1.037 GB, free: 156 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.8546, allocations: 59.97 kB / 1.037 GB, free: 96 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004936/0.8595, allocations: 1.909 MB / 1.039 GB, free: 14.12 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.8596, allocations: 0 / 1.039 GB, free: 14.12 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.8597, allocations: 31.98 kB / 1.039 GB, free: 14.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003465/0.86, allocations: 157.3 kB / 1.039 GB, free: 13.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007697/0.8677, allocations: 2.601 MB / 1.042 GB, free: 11.33 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.8784, allocations: 6.638 MB / 1.048 GB, free: 4.324 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.8817, allocations: 1.247 MB / 1.049 GB, free: 3.059 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002199/0.8839, allocations: 1.468 MB / 1.051 GB, free: 1.527 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.884, allocations: 42.56 kB / 1.051 GB, free: 1.477 MB / 0.795 GB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/0.884, allocations: 0 / 1.051 GB, free: 1.477 MB / 0.795 GB Notification: Performance of matching and sorting (n=75): time 0.01425/0.8983, allocations: 4.675 MB / 1.056 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.8984, allocations: 89.09 kB / 1.056 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006995/0.8991, allocations: 0.5692 MB / 1.056 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.529e-05/0.8992, allocations: 41.7 kB / 1.056 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.8995, allocations: 418.4 kB / 1.057 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.8998, allocations: 264.2 kB / 1.057 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.8999, allocations: 23.94 kB / 1.057 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.9001, allocations: 382.8 kB / 1.057 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.9027, allocations: 0.8728 MB / 1.058 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.9055, allocations: 1.198 MB / 1.059 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.9082, allocations: 0.9473 MB / 1.06 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.9082, allocations: 4 kB / 1.06 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007454/0.9157, allocations: 2.605 MB / 1.063 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001862/0.9176, allocations: 4.006 MB / 1.067 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.9176, allocations: 20 kB / 1.067 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.9197, allocations: 0.54 MB / 1.067 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.9216, allocations: 443.2 kB / 1.068 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/0.9291, allocations: 5.254 MB / 1.073 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.9312, allocations: 271.6 kB / 1.073 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.9313, allocations: 55.97 kB / 1.073 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.9313, allocations: 4 kB / 1.073 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006312/0.9376, allocations: 2.3 MB / 1.075 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.9377, allocations: 12.56 kB / 1.075 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007527/0.9384, allocations: 265.5 kB / 1.076 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.9404, allocations: 451.2 kB / 1.076 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/0.9455, allocations: 4.252 MB / 1.08 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.9474, allocations: 267.6 kB / 1.08 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.9476, allocations: 56.34 kB / 1.08 GB, free: 2.109 MB / 0.8262 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.0006162/0.9482, allocations: 360.7 kB / 1.081 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.9484, allocations: 71.16 kB / 1.081 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007417/0.9559, allocations: 2.409 MB / 1.083 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.9559, allocations: 8 kB / 1.083 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.9559, allocations: 0 / 1.083 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.9559, allocations: 7.984 kB / 1.083 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009221/0.9652, allocations: 3.746 MB / 1.087 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.9652, allocations: 4 kB / 1.087 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.9668, allocations: 339.8 kB / 1.087 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.9685, allocations: 493.6 kB / 1.088 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/0.9686, allocations: 27.94 kB / 1.088 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/0.975, allocations: 5.052 MB / 1.093 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.975, allocations: 4 kB / 1.093 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007071/0.9821, allocations: 2.625 MB / 1.095 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006284/0.9828, allocations: 288 kB / 1.095 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.983, allocations: 16 kB / 1.096 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.9848, allocations: 279.5 kB / 1.096 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.985, allocations: 63.81 kB / 1.096 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.9851, allocations: 35.97 kB / 1.096 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005554/0.9856, allocations: 402.8 kB / 1.096 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.9856, allocations: 4 kB / 1.096 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001945/0.9876, allocations: 460 kB / 1.097 GB, free: 0.8828 MB / 0.8419 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.0002912/0.9879, allocations: 128.7 kB / 1.097 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01042/0.9983, allocations: 3.809 MB / 1.101 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.9984, allocations: 4.125 kB / 1.101 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003747/1.002, allocations: 1.314 MB / 1.102 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.003, allocations: 130.3 kB / 1.102 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.014, allocations: 3.324 MB / 1.105 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/1.015, allocations: 1.039 MB / 1.106 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002409/1.018, allocations: 0.5255 MB / 1.107 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/1.018, allocations: 71.39 kB / 1.107 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of SimCode: time 1.733e-06/1.018, allocations: 0 / 1.107 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of Templates: time 0.0323/1.05, allocations: 16.34 MB / 1.123 GB, free: 6.094 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches