Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001025/0.001025, allocations: 188.3 kB / 492.3 MB, free: 0.6406 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.525/1.525, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.000965/0.0009651, allocations: 98.7 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.819e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2322, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8315/1.064, allocations: 181.2 MB / 1.389 GB, free: 16.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.064, allocations: 90.19 kB / 1.389 GB, free: 16.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04243/1.107, allocations: 20.29 MB / 1.409 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.107, allocations: 4 kB / 1.409 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.642e-05/1.107, allocations: 8 kB / 1.409 GB, free: 17.54 MB / 0.8386 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.0007638/1.107, allocations: 0.5307 MB / 1.41 GB, free: 16.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.107, allocations: 8.031 kB / 1.41 GB, free: 16.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007486/1.108, allocations: 103.6 kB / 1.41 GB, free: 16.87 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/1.108, allocations: 260.1 kB / 1.41 GB, free: 16.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/1.108, allocations: 23.36 kB / 1.41 GB, free: 16.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/1.109, allocations: 15.44 kB / 1.41 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/1.109, allocations: 364.4 kB / 1.411 GB, free: 16.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.109, allocations: 0 / 1.411 GB, free: 16.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/1.109, allocations: 15 kB / 1.411 GB, free: 16.26 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/1.109, allocations: 23.75 kB / 1.411 GB, free: 16.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/1.109, allocations: 335.7 kB / 1.411 GB, free: 16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/1.111, allocations: 1.714 MB / 1.413 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/1.112, allocations: 328.1 kB / 1.413 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/1.112, allocations: 181.7 kB / 1.413 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/1.112, allocations: 89.08 kB / 1.413 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/1.112, allocations: 37.38 kB / 1.413 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.353e-06/1.112, allocations: 0 / 1.413 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.006045/1.118, allocations: 1.718 MB / 1.415 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/1.118, allocations: 88.36 kB / 1.415 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/1.119, allocations: 161.2 kB / 1.415 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/1.119, allocations: 36.89 kB / 1.415 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.119, allocations: 148.9 kB / 1.415 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.119, allocations: 121.9 kB / 1.415 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/1.119, allocations: 3.688 kB / 1.415 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.119, allocations: 332.7 kB / 1.416 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/1.119, allocations: 215.8 kB / 1.416 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/1.12, allocations: 307.5 kB / 1.416 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/1.12, allocations: 266.1 kB / 1.416 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.12, allocations: 0 / 1.416 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008309/1.121, allocations: 0.5774 MB / 1.417 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003423/1.121, allocations: 0.8791 MB / 1.418 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.121, allocations: 0 / 1.418 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/1.121, allocations: 12 kB / 1.418 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.122, allocations: 171.1 kB / 1.418 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.122, allocations: 7.984 kB / 1.418 GB, free: 9.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/1.123, allocations: 47.38 kB / 1.418 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/1.123, allocations: 23.25 kB / 1.418 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-06/1.123, allocations: 4 kB / 1.418 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007563/1.124, allocations: 0.5146 MB / 1.419 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/1.124, allocations: 7.938 kB / 1.419 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/1.124, allocations: 4 kB / 1.419 GB, free: 9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009325/1.125, allocations: 171.6 kB / 1.419 GB, free: 8.836 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.125, allocations: 4 kB / 1.419 GB, free: 8.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/1.125, allocations: 42.39 kB / 1.419 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/1.125, allocations: 19.3 kB / 1.419 GB, free: 8.781 MB / 0.8386 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 () * 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.0001275/1.125, allocations: 131.6 kB / 1.419 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/1.125, allocations: 23.72 kB / 1.419 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009973/1.126, allocations: 0.6083 MB / 1.42 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/1.126, allocations: 8 kB / 1.42 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.126, allocations: 3.984 kB / 1.42 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.126, allocations: 0 / 1.42 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/1.128, allocations: 1.309 MB / 1.421 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.128, allocations: 0 / 1.421 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/1.129, allocations: 123.7 kB / 1.421 GB, free: 6.949 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.129, allocations: 4 kB / 1.421 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/1.129, allocations: 11.52 kB / 1.421 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.129, allocations: 4 kB / 1.421 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.129, allocations: 48 / 1.421 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/1.129, allocations: 0.7635 MB / 1.422 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/1.13, allocations: 141.7 kB / 1.422 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/1.13, allocations: 11.38 kB / 1.422 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/1.13, allocations: 43.38 kB / 1.422 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/1.13, allocations: 31.34 kB / 1.422 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/1.13, allocations: 11.25 kB / 1.422 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001131/1.13, allocations: 151 kB / 1.422 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.13, allocations: 4 kB / 1.422 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000632/1.131, allocations: 167.9 kB / 1.422 GB, free: 5.723 MB / 0.8386 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 () * 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.0002159/1.131, allocations: 153 kB / 1.422 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.132, allocations: 0.7646 MB / 1.423 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.132, allocations: 256 / 1.423 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/1.132, allocations: 226.7 kB / 1.423 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/1.133, allocations: 44.34 kB / 1.423 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/1.134, allocations: 0.5654 MB / 1.424 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/1.134, allocations: 0.7902 MB / 1.425 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005305/1.135, allocations: 174.8 kB / 1.425 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/1.135, allocations: 27.38 kB / 1.425 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.135, allocations: 0 / 1.425 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of Templates: time 0.007723/1.142, allocations: 4.524 MB / 1.429 GB, free: 14.87 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches