Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 390.5 MB / 398 MB, free: 10.91 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.001124/0.001124, allocations: 183.5 kB / 491.2 MB, free: 1.559 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.602/1.602, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001039/0.001039, allocations: 95.66 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.155e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.328, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.434, allocations: 184.1 MB / 1.392 GB, free: 14.67 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.435, allocations: 94.88 kB / 1.392 GB, free: 14.65 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.0506/1.485, allocations: 22.84 MB / 1.414 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.485, allocations: 0 / 1.414 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.99e-05/1.485, allocations: 8 kB / 1.414 GB, free: 13.57 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.001196/1.487, allocations: 0.5661 MB / 1.415 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.487, allocations: 16.03 kB / 1.415 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/1.488, allocations: 119.8 kB / 1.415 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/1.488, allocations: 270.6 kB / 1.415 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/1.488, allocations: 8 kB / 1.415 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/1.488, allocations: 12 kB / 1.415 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004617/1.489, allocations: 258.3 kB / 1.416 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/1.489, allocations: 363.2 kB / 1.416 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/1.489, allocations: 0 / 1.416 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/1.489, allocations: 3.938 kB / 1.416 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/1.49, allocations: 35.8 kB / 1.416 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/1.492, allocations: 2.001 MB / 1.418 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/1.493, allocations: 322.1 kB / 1.418 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/1.493, allocations: 169.3 kB / 1.418 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/1.493, allocations: 89.28 kB / 1.419 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/1.493, allocations: 38.25 kB / 1.419 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 2.205e-06/1.493, allocations: 0 / 1.419 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.002215/1.496, allocations: 0.8774 MB / 1.419 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/1.496, allocations: 81.11 kB / 1.42 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/1.496, allocations: 190.3 kB / 1.42 GB, free: 8.586 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/1.496, allocations: 25.7 kB / 1.42 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/1.496, allocations: 183.5 kB / 1.42 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/1.496, allocations: 116.2 kB / 1.42 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/1.496, allocations: 4.031 kB / 1.42 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.496, allocations: 340.3 kB / 1.42 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/1.497, allocations: 150.1 kB / 1.421 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/1.497, allocations: 266.4 kB / 1.421 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/1.497, allocations: 226.7 kB / 1.421 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.497, allocations: 0 / 1.421 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001074/1.498, allocations: 0.5771 MB / 1.422 GB, free: 7.004 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005491/1.499, allocations: 1.227 MB / 1.423 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.499, allocations: 4 kB / 1.423 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/1.499, allocations: 128.7 kB / 1.423 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/1.5, allocations: 106.9 kB / 1.423 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/1.503, allocations: 3.833 MB / 1.427 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/1.503, allocations: 31.95 kB / 1.427 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/1.503, allocations: 19.19 kB / 1.427 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/1.503, allocations: 8.125 kB / 1.427 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/1.504, allocations: 0.5093 MB / 1.427 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.504, allocations: 4.062 kB / 1.427 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/1.504, allocations: 122.6 kB / 1.427 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/1.505, allocations: 107.7 kB / 1.427 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007054/1.506, allocations: 1.117 MB / 1.429 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/1.506, allocations: 31.95 kB / 1.429 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/1.506, allocations: 19.31 kB / 1.429 GB, free: 15.74 MB / 0.8542 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.0001937/1.506, allocations: 108.9 kB / 1.429 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/1.506, allocations: 30.59 kB / 1.429 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009821/1.507, allocations: 0.5398 MB / 1.429 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.507, allocations: 4 kB / 1.429 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.507, allocations: 0 / 1.429 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.507, allocations: 0 / 1.429 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/1.509, allocations: 1.202 MB / 1.43 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.509, allocations: 0 / 1.43 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/1.509, allocations: 71.64 kB / 1.431 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003475/1.51, allocations: 142.3 kB / 1.431 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/1.51, allocations: 4 kB / 1.431 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/1.513, allocations: 3.85 MB / 1.434 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.513, allocations: 4.031 kB / 1.434 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.514, allocations: 0.8275 MB / 1.435 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/1.514, allocations: 138.8 kB / 1.435 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/1.514, allocations: 3.984 kB / 1.435 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/1.514, allocations: 27.97 kB / 1.435 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/1.514, allocations: 39.66 kB / 1.435 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/1.514, allocations: 11.69 kB / 1.435 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001531/1.514, allocations: 157.8 kB / 1.436 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.514, allocations: 0 / 1.436 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008346/1.515, allocations: 147.9 kB / 1.436 GB, free: 8.707 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.0003084/1.516, allocations: 162.3 kB / 1.436 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001513/1.517, allocations: 1.018 MB / 1.437 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.517, allocations: 0 / 1.437 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005688/1.518, allocations: 444.2 kB / 1.437 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/1.518, allocations: 40.91 kB / 1.437 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/1.519, allocations: 0.5367 MB / 1.438 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.52, allocations: 0.8115 MB / 1.439 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003878/1.52, allocations: 119.2 kB / 1.439 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/1.52, allocations: 30.98 kB / 1.439 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/1.52, allocations: 0 / 1.439 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of Templates: time 0.01132/1.531, allocations: 5.501 MB / 1.444 GB, free: 316 kB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches