Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.322/2.322, allocations: 390.5 MB / 398 MB, free: 10.98 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.001301/0.001302, allocations: 179.5 kB / 491.2 MB, free: 1.609 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.792/1.792, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.000949/0.000949, allocations: 99.83 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.294e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.246, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.134, allocations: 182.6 MB / 1.391 GB, free: 15.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/1.134, allocations: 96.06 kB / 1.391 GB, free: 15.38 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.0479/1.182, allocations: 22.56 MB / 1.413 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/1.182, allocations: 0 / 1.413 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.73e-05/1.182, allocations: 8 kB / 1.413 GB, free: 15.13 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.001079/1.183, allocations: 0.5686 MB / 1.413 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.183, allocations: 12.03 kB / 1.413 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/1.185, allocations: 119.5 kB / 1.413 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/1.185, allocations: 269 kB / 1.414 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/1.185, allocations: 8 kB / 1.414 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/1.185, allocations: 12 kB / 1.414 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004539/1.186, allocations: 256.9 kB / 1.414 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/1.186, allocations: 356.7 kB / 1.414 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.186, allocations: 3.938 kB / 1.414 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/1.186, allocations: 0 / 1.414 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.474e-05/1.186, allocations: 44.34 kB / 1.414 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/1.189, allocations: 1.991 MB / 1.416 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006737/1.189, allocations: 331.9 kB / 1.417 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/1.19, allocations: 169.3 kB / 1.417 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/1.19, allocations: 97.27 kB / 1.417 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.19, allocations: 33.75 kB / 1.417 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/1.19, allocations: 0 / 1.417 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.002191/1.192, allocations: 0.8738 MB / 1.418 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/1.192, allocations: 81.11 kB / 1.418 GB, free: 10.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/1.192, allocations: 196.4 kB / 1.418 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/1.192, allocations: 29.73 kB / 1.418 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/1.193, allocations: 177.4 kB / 1.418 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/1.193, allocations: 110.8 kB / 1.418 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/1.193, allocations: 0 / 1.418 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.193, allocations: 343.2 kB / 1.419 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/1.193, allocations: 153.8 kB / 1.419 GB, free: 9.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/1.193, allocations: 264.1 kB / 1.419 GB, free: 9.191 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/1.194, allocations: 226.7 kB / 1.419 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.194, allocations: 0 / 1.419 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001088/1.195, allocations: 0.5789 MB / 1.42 GB, free: 8.574 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005098/1.195, allocations: 1.223 MB / 1.421 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.195, allocations: 7.938 kB / 1.421 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/1.196, allocations: 130.2 kB / 1.421 GB, free: 7.156 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/1.196, allocations: 98.88 kB / 1.421 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/1.199, allocations: 3.842 MB / 1.425 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/1.199, allocations: 32.12 kB / 1.425 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/1.199, allocations: 27.3 kB / 1.425 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/1.2, allocations: 5.25 kB / 1.425 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001057/1.201, allocations: 0.5161 MB / 1.426 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.201, allocations: 0 / 1.426 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/1.201, allocations: 121.7 kB / 1.426 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/1.201, allocations: 107.8 kB / 1.426 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009064/1.202, allocations: 1.114 MB / 1.427 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/1.203, allocations: 36.14 kB / 1.427 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/1.203, allocations: 15.75 kB / 1.427 GB, free: 1.301 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.0002546/1.203, allocations: 112.9 kB / 1.427 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.203, allocations: 27.72 kB / 1.427 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/1.204, allocations: 0.5358 MB / 1.428 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.204, allocations: 4 kB / 1.428 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.204, allocations: 0 / 1.428 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.204, allocations: 0 / 1.428 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/1.206, allocations: 1.205 MB / 1.429 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.206, allocations: 0 / 1.429 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/1.207, allocations: 71.89 kB / 1.429 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/1.207, allocations: 146.3 kB / 1.429 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/1.207, allocations: 4 kB / 1.429 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/1.209, allocations: 3.847 MB / 1.433 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.209, allocations: 4.25 kB / 1.433 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/1.211, allocations: 0.8205 MB / 1.434 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/1.211, allocations: 142.9 kB / 1.434 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/1.211, allocations: 0 / 1.434 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/1.211, allocations: 39.7 kB / 1.434 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/1.211, allocations: 31.55 kB / 1.434 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/1.211, allocations: 8 kB / 1.434 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001493/1.211, allocations: 159.2 kB / 1.434 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.211, allocations: 0 / 1.434 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008024/1.212, allocations: 151.9 kB / 1.434 GB, free: 10.26 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.0002699/1.212, allocations: 166.5 kB / 1.434 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001412/1.214, allocations: 1.024 MB / 1.435 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.214, allocations: 0 / 1.435 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/1.214, allocations: 434.2 kB / 1.436 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/1.215, allocations: 43.41 kB / 1.436 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/1.216, allocations: 0.5299 MB / 1.436 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/1.216, allocations: 0.8149 MB / 1.437 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003886/1.217, allocations: 123.2 kB / 1.437 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/1.217, allocations: 19.44 kB / 1.437 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of SimCode: time 3.8e-07/1.217, allocations: 4 kB / 1.437 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of Templates: time 0.01031/1.227, allocations: 5.498 MB / 1.442 GB, free: 1.859 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches