Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001053/0.001053, allocations: 188.1 kB / 492.3 MB, free: 0.6055 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.519/1.519, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009234/0.0009233, allocations: 95.88 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.253e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.349, allocations: 183.9 MB / 1.392 GB, free: 15.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.349, allocations: 91.22 kB / 1.392 GB, free: 15.52 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04941/1.399, allocations: 22.91 MB / 1.414 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/1.399, allocations: 4 kB / 1.414 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.579e-05/1.399, allocations: 4 kB / 1.415 GB, free: 13.06 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009141/1.4, allocations: 0.5707 MB / 1.415 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.4, allocations: 12.02 kB / 1.415 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/1.401, allocations: 127.8 kB / 1.415 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/1.401, allocations: 275.1 kB / 1.415 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/1.401, allocations: 16.19 kB / 1.415 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/1.401, allocations: 23.12 kB / 1.415 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/1.402, allocations: 391.2 kB / 1.416 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.402, allocations: 7.938 kB / 1.416 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/1.402, allocations: 6.875 kB / 1.416 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/1.402, allocations: 27.73 kB / 1.416 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/1.402, allocations: 319.6 kB / 1.416 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/1.405, allocations: 2.052 MB / 1.418 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/1.405, allocations: 331.9 kB / 1.419 GB, free: 9.191 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/1.406, allocations: 180.1 kB / 1.419 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/1.406, allocations: 89.28 kB / 1.419 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.406, allocations: 37.75 kB / 1.419 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/1.406, allocations: 11.94 kB / 1.419 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.004263/1.41, allocations: 1.441 MB / 1.42 GB, free: 7.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.41, allocations: 87.98 kB / 1.42 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/1.41, allocations: 206.4 kB / 1.421 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/1.41, allocations: 36.58 kB / 1.421 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/1.41, allocations: 173.2 kB / 1.421 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/1.41, allocations: 126.5 kB / 1.421 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/1.41, allocations: 5.438 kB / 1.421 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.411, allocations: 343.9 kB / 1.421 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/1.411, allocations: 161.8 kB / 1.421 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/1.411, allocations: 273.5 kB / 1.422 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/1.412, allocations: 207 kB / 1.422 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.412, allocations: 0 / 1.422 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009514/1.412, allocations: 0.6103 MB / 1.422 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004808/1.413, allocations: 1.218 MB / 1.424 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.413, allocations: 4 kB / 1.424 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/1.413, allocations: 140.8 kB / 1.424 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/1.414, allocations: 102.9 kB / 1.424 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/1.417, allocations: 3.939 MB / 1.428 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/1.417, allocations: 42.72 kB / 1.428 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/1.417, allocations: 15.44 kB / 1.428 GB, free: 164 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/1.417, allocations: 4 kB / 1.428 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009123/1.418, allocations: 0.5512 MB / 1.428 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.418, allocations: 4 kB / 1.428 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/1.418, allocations: 140.3 kB / 1.428 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/1.419, allocations: 102.3 kB / 1.428 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006247/1.419, allocations: 1.104 MB / 1.43 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/1.42, allocations: 42.62 kB / 1.43 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/1.42, allocations: 19.62 kB / 1.43 GB, free: 14.35 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.42, allocations: 131.1 kB / 1.43 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/1.42, allocations: 31.67 kB / 1.43 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009279/1.421, allocations: 0.5564 MB / 1.43 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.421, allocations: 4 kB / 1.43 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.421, allocations: 7.953 kB / 1.43 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.421, allocations: 3.984 kB / 1.43 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/1.423, allocations: 1.267 MB / 1.432 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.423, allocations: 4 kB / 1.432 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/1.423, allocations: 64.16 kB / 1.432 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/1.424, allocations: 150.2 kB / 1.432 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/1.424, allocations: 15.8 kB / 1.432 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/1.426, allocations: 3.968 MB / 1.436 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.426, allocations: 4 kB / 1.436 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/1.427, allocations: 0.8158 MB / 1.436 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/1.427, allocations: 144.9 kB / 1.437 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/1.427, allocations: 10.83 kB / 1.437 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/1.428, allocations: 38.28 kB / 1.437 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/1.428, allocations: 31.45 kB / 1.437 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/1.428, allocations: 11.19 kB / 1.437 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001448/1.428, allocations: 171 kB / 1.437 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.428, allocations: 0 / 1.437 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007103/1.429, allocations: 175.8 kB / 1.437 GB, free: 7.074 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00026/1.429, allocations: 158.8 kB / 1.437 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.431, allocations: 1.075 MB / 1.438 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.431, allocations: 0 / 1.438 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006562/1.431, allocations: 466.2 kB / 1.439 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/1.432, allocations: 64.3 kB / 1.439 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/1.433, allocations: 0.5399 MB / 1.439 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/1.433, allocations: 0.8185 MB / 1.44 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003598/1.434, allocations: 118.9 kB / 1.44 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-05/1.434, allocations: 30.98 kB / 1.44 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/1.434, allocations: 3.938 kB / 1.44 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of Templates: time 0.0101/1.444, allocations: 5.712 MB / 1.446 GB, free: 14.37 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches