Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 251.9 MB / 266.9 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 183 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008967/0.0008967, allocations: 102.3 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 9.594 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2626, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8414/1.104, allocations: 163.4 MB / 1.06 GB, free: 64.26 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.105, allocations: 95.44 kB / 1.06 GB, free: 64.26 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05639/1.161, allocations: 18.56 MB / 1.078 GB, free: 62.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.078e-06/1.161, allocations: 0 / 1.078 GB, free: 62.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.015e-05/1.161, allocations: 4.812 kB / 1.078 GB, free: 62.62 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001605/1.163, allocations: 0.5588 MB / 1.078 GB, free: 62.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.163, allocations: 10.83 kB / 1.078 GB, free: 62.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/1.164, allocations: 99.31 kB / 1.079 GB, free: 62.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/1.164, allocations: 266.1 kB / 1.079 GB, free: 61.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/1.164, allocations: 12.09 kB / 1.079 GB, free: 61.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/1.164, allocations: 16.72 kB / 1.079 GB, free: 61.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/1.165, allocations: 390.1 kB / 1.079 GB, free: 61.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/1.165, allocations: 1.062 kB / 1.079 GB, free: 61.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/1.165, allocations: 10.16 kB / 1.079 GB, free: 61.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.456e-05/1.166, allocations: 20.62 kB / 1.079 GB, free: 61.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008763/1.166, allocations: 384.5 kB / 1.08 GB, free: 61.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/1.169, allocations: 1.72 MB / 1.081 GB, free: 60.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007899/1.17, allocations: 346.6 kB / 1.082 GB, free: 60.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/1.17, allocations: 91.34 kB / 1.082 GB, free: 60.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/1.17, allocations: 35.06 kB / 1.082 GB, free: 60.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.415e-06/1.17, allocations: 4 kB / 1.082 GB, free: 60.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.007425/1.177, allocations: 1.973 MB / 1.084 GB, free: 60.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/1.177, allocations: 84.95 kB / 1.084 GB, free: 60.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/1.178, allocations: 161.4 kB / 1.084 GB, free: 60.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/1.178, allocations: 41.48 kB / 1.084 GB, free: 59.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/1.178, allocations: 147.2 kB / 1.084 GB, free: 59.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.178, allocations: 121 kB / 1.084 GB, free: 59.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/1.178, allocations: 11.91 kB / 1.084 GB, free: 59.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/1.178, allocations: 326.5 kB / 1.085 GB, free: 59.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/1.179, allocations: 261.6 kB / 1.085 GB, free: 59.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/1.179, allocations: 333.7 kB / 1.085 GB, free: 59.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/1.179, allocations: 294.8 kB / 1.085 GB, free: 59.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.179, allocations: 0 / 1.085 GB, free: 59.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001112/1.181, allocations: 0.6535 MB / 1.086 GB, free: 59.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000252/1.181, allocations: 0.8816 MB / 1.087 GB, free: 58.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.181, allocations: 3.812 kB / 1.087 GB, free: 58.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/1.181, allocations: 4.328 kB / 1.087 GB, free: 58.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.182, allocations: 170.5 kB / 1.087 GB, free: 58.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/1.182, allocations: 3.906 kB / 1.087 GB, free: 58.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/1.182, allocations: 55.75 kB / 1.087 GB, free: 58.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/1.182, allocations: 13.83 kB / 1.087 GB, free: 58.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.182, allocations: 3.969 kB / 1.087 GB, free: 58.37 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/1.183, allocations: 0.5885 MB / 1.088 GB, free: 58.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.184, allocations: 3.906 kB / 1.088 GB, free: 58.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-06/1.184, allocations: 3.969 kB / 1.088 GB, free: 58.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/1.184, allocations: 173 kB / 1.088 GB, free: 58.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.185, allocations: 7.891 kB / 1.088 GB, free: 58.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/1.185, allocations: 46.39 kB / 1.088 GB, free: 58.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/1.185, allocations: 15.66 kB / 1.088 GB, free: 58.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002605/1.185, allocations: 249.7 kB / 1.088 GB, free: 58.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/1.185, allocations: 19.53 kB / 1.088 GB, free: 58.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/1.187, allocations: 0.6885 MB / 1.089 GB, free: 58.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/1.187, allocations: 3.906 kB / 1.089 GB, free: 58.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.187, allocations: 0 / 1.089 GB, free: 58.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/1.187, allocations: 1.922 kB / 1.089 GB, free: 58.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/1.189, allocations: 1.389 MB / 1.09 GB, free: 57.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.189, allocations: 3.906 kB / 1.09 GB, free: 57.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/1.189, allocations: 120.3 kB / 1.09 GB, free: 57.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/1.189, allocations: 3.906 kB / 1.09 GB, free: 57.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/1.189, allocations: 15.08 kB / 1.09 GB, free: 57.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.189, allocations: 6.109 kB / 1.09 GB, free: 57.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.189, allocations: 3.938 kB / 1.09 GB, free: 57.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/1.19, allocations: 0.8221 MB / 1.091 GB, free: 57.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/1.191, allocations: 139.8 kB / 1.091 GB, free: 56.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/1.191, allocations: 15.33 kB / 1.091 GB, free: 56.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/1.191, allocations: 46.5 kB / 1.091 GB, free: 56.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/1.191, allocations: 33.28 kB / 1.091 GB, free: 56.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/1.191, allocations: 11.19 kB / 1.091 GB, free: 56.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001308/1.191, allocations: 139.6 kB / 1.092 GB, free: 56.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/1.191, allocations: 3.906 kB / 1.092 GB, free: 56.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008555/1.192, allocations: 166.6 kB / 1.092 GB, free: 56.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003608/1.193, allocations: 158.4 kB / 1.092 GB, free: 56.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001554/1.194, allocations: 0.8682 MB / 1.093 GB, free: 56.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.194, allocations: 0 / 1.093 GB, free: 56.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004193/1.195, allocations: 267.8 kB / 1.093 GB, free: 56.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/1.195, allocations: 33.28 kB / 1.093 GB, free: 56.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/1.196, allocations: 0.8228 MB / 1.094 GB, free: 56.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/1.197, allocations: 0.7958 MB / 1.095 GB, free: 55.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005435/1.197, allocations: 165.1 kB / 1.095 GB, free: 55.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/1.197, allocations: 29.31 kB / 1.095 GB, free: 55.54 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/1.197, allocations: 0 / 1.095 GB, free: 55.54 MB / 0.698 GB Notification: Performance of Templates: time 0.008423/1.206, allocations: 4.341 MB / 1.099 GB, free: 55.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches