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.502/2.502, allocations: 387.4 MB / 394.9 MB, free: 13.45 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.001392/0.001392, allocations: 191.4 kB / 487.4 MB, free: 5.066 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.548/1.548, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108.5 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.278e-05, allocations: 2.125 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3237, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9972/1.321, allocations: 183.3 MB / 1.385 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.321, allocations: 96.08 kB / 1.385 GB, free: 17.29 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.0501/1.371, allocations: 22.84 MB / 1.407 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.371, allocations: 7.938 kB / 1.407 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.688e-05/1.371, allocations: 8 kB / 1.407 GB, free: 21.95 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.001098/1.372, allocations: 0.5676 MB / 1.408 GB, free: 21.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.373, allocations: 8.031 kB / 1.408 GB, free: 21.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/1.374, allocations: 127.8 kB / 1.408 GB, free: 21.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/1.374, allocations: 272.3 kB / 1.408 GB, free: 20.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/1.374, allocations: 8 kB / 1.408 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/1.374, allocations: 15.98 kB / 1.408 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004001/1.375, allocations: 262.5 kB / 1.409 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/1.375, allocations: 356.2 kB / 1.409 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.375, allocations: 0 / 1.409 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/1.375, allocations: 0 / 1.409 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/1.375, allocations: 31.84 kB / 1.409 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/1.377, allocations: 1.998 MB / 1.411 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/1.378, allocations: 319.5 kB / 1.411 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/1.378, allocations: 174.5 kB / 1.411 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/1.379, allocations: 85.3 kB / 1.411 GB, free: 18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/1.379, allocations: 38.67 kB / 1.411 GB, free: 17.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 2.816e-06/1.379, allocations: 0 / 1.411 GB, free: 17.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.002055/1.381, allocations: 0.8803 MB / 1.412 GB, free: 17.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/1.381, allocations: 81.11 kB / 1.412 GB, free: 17.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/1.381, allocations: 195 kB / 1.413 GB, free: 16.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/1.381, allocations: 25.7 kB / 1.413 GB, free: 16.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/1.381, allocations: 185.6 kB / 1.413 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/1.381, allocations: 107.7 kB / 1.413 GB, free: 16.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/1.381, allocations: 0 / 1.413 GB, free: 16.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.381, allocations: 343.7 kB / 1.413 GB, free: 16.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/1.381, allocations: 156.3 kB / 1.413 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/1.382, allocations: 262.2 kB / 1.414 GB, free: 16.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/1.382, allocations: 221.9 kB / 1.414 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.382, allocations: 0 / 1.414 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009384/1.383, allocations: 0.5832 MB / 1.414 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005246/1.384, allocations: 1.231 MB / 1.416 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.384, allocations: 4 kB / 1.416 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/1.384, allocations: 132.3 kB / 1.416 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/1.384, allocations: 95.62 kB / 1.416 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/1.387, allocations: 3.841 MB / 1.42 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/1.388, allocations: 27.97 kB / 1.42 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/1.388, allocations: 18.5 kB / 1.42 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.388, allocations: 4 kB / 1.42 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/1.389, allocations: 0.5215 MB / 1.42 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.389, allocations: 4 kB / 1.42 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/1.389, allocations: 129.3 kB / 1.42 GB, free: 9.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/1.39, allocations: 95.12 kB / 1.42 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007725/1.39, allocations: 1.117 MB / 1.421 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/1.391, allocations: 31.28 kB / 1.421 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/1.391, allocations: 19.98 kB / 1.422 GB, free: 8.141 MB / 0.8386 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] 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.0002244/1.391, allocations: 116 kB / 1.422 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.391, allocations: 23.72 kB / 1.422 GB, free: 8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/1.392, allocations: 0.5392 MB / 1.422 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.392, allocations: 4 kB / 1.422 GB, free: 7.586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.392, allocations: 3.984 kB / 1.422 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.392, allocations: 4 kB / 1.422 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/1.395, allocations: 1.192 MB / 1.423 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.395, allocations: 12.23 kB / 1.423 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/1.395, allocations: 67.58 kB / 1.423 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/1.395, allocations: 138.5 kB / 1.424 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/1.395, allocations: 8 kB / 1.424 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/1.399, allocations: 3.853 MB / 1.427 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.399, allocations: 0 / 1.427 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/1.4, allocations: 0.8185 MB / 1.428 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/1.4, allocations: 142.6 kB / 1.428 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/1.4, allocations: 4 kB / 1.428 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/1.4, allocations: 39.89 kB / 1.428 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/1.401, allocations: 34.92 kB / 1.428 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/1.401, allocations: 12 kB / 1.428 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001816/1.401, allocations: 157.4 kB / 1.428 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.401, allocations: 0 / 1.428 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001034/1.402, allocations: 154.1 kB / 1.429 GB, free: 1.086 MB / 0.8386 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.0003244/1.402, allocations: 147 kB / 1.429 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001668/1.404, allocations: 1.019 MB / 1.43 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.404, allocations: 0 / 1.43 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006994/1.405, allocations: 445.2 kB / 1.43 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/1.405, allocations: 43.41 kB / 1.43 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/1.406, allocations: 0.5367 MB / 1.431 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/1.407, allocations: 0.8131 MB / 1.432 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004224/1.407, allocations: 115.2 kB / 1.432 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/1.407, allocations: 23.44 kB / 1.432 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of SimCode: time 2.6e-07/1.407, allocations: 0 / 1.432 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.01127/1.419, allocations: 5.504 MB / 1.437 GB, free: 8.699 MB / 0.8542 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