Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.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_9_Buildings.Electrical.AC.OnePhase.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.229/2.229, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001028/0.001028, allocations: 176.9 kB / 487.4 MB, free: 5.043 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.478/1.478, allocations: 221.5 MB / 0.7824 GB, free: 1.059 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.0009536/0.000954, allocations: 99.84 kB / 0.9219 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.54e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2697, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.275, allocations: 181.8 MB / 1.383 GB, free: 17.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.275, allocations: 97.53 kB / 1.384 GB, free: 17.75 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.04834/1.323, allocations: 22.55 MB / 1.406 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.323, allocations: 0 / 1.406 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.725e-05/1.323, allocations: 11.94 kB / 1.406 GB, free: 23.31 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.00112/1.324, allocations: 0.5643 MB / 1.406 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.325, allocations: 16.03 kB / 1.406 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/1.326, allocations: 119.8 kB / 1.406 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/1.326, allocations: 277.8 kB / 1.407 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/1.326, allocations: 11.94 kB / 1.407 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/1.326, allocations: 12 kB / 1.407 GB, free: 22.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004062/1.327, allocations: 258.1 kB / 1.407 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/1.327, allocations: 353.2 kB / 1.407 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.327, allocations: 7.938 kB / 1.407 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/1.327, allocations: 3.984 kB / 1.407 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-05/1.327, allocations: 31.47 kB / 1.407 GB, free: 21.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/1.33, allocations: 1.99 MB / 1.409 GB, free: 19.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/1.33, allocations: 331.8 kB / 1.409 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/1.331, allocations: 169.2 kB / 1.41 GB, free: 19.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.591e-05/1.331, allocations: 88.97 kB / 1.41 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/1.331, allocations: 46.3 kB / 1.41 GB, free: 19.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 2.334e-06/1.331, allocations: 3.938 kB / 1.41 GB, free: 19.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001884/1.333, allocations: 0.874 MB / 1.411 GB, free: 18.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/1.333, allocations: 81.11 kB / 1.411 GB, free: 18.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/1.333, allocations: 195 kB / 1.411 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/1.333, allocations: 25.7 kB / 1.411 GB, free: 18.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/1.333, allocations: 178.6 kB / 1.411 GB, free: 18.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/1.333, allocations: 115.4 kB / 1.411 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/1.333, allocations: 0 / 1.411 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.333, allocations: 343.8 kB / 1.412 GB, free: 17.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/1.334, allocations: 155.4 kB / 1.412 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/1.334, allocations: 262.1 kB / 1.412 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/1.334, allocations: 224.9 kB / 1.412 GB, free: 17.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.334, allocations: 0 / 1.412 GB, free: 17.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008675/1.335, allocations: 0.585 MB / 1.413 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004987/1.336, allocations: 1.226 MB / 1.414 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.336, allocations: 4 kB / 1.414 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/1.336, allocations: 128.5 kB / 1.414 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/1.336, allocations: 99.88 kB / 1.414 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/1.339, allocations: 3.837 MB / 1.418 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/1.339, allocations: 27.97 kB / 1.418 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/1.339, allocations: 19.62 kB / 1.418 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/1.339, allocations: 4 kB / 1.418 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009026/1.34, allocations: 0.5178 MB / 1.418 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.34, allocations: 4.062 kB / 1.418 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/1.34, allocations: 122.7 kB / 1.419 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/1.341, allocations: 103.8 kB / 1.419 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006709/1.341, allocations: 1.117 MB / 1.42 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/1.342, allocations: 27.97 kB / 1.42 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/1.342, allocations: 23.86 kB / 1.42 GB, free: 9.508 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.000185/1.342, allocations: 112.9 kB / 1.42 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/1.342, allocations: 31.66 kB / 1.42 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/1.343, allocations: 0.5368 MB / 1.42 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.343, allocations: 4 kB / 1.42 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.343, allocations: 0 / 1.42 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/1.343, allocations: 7.984 kB / 1.42 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/1.345, allocations: 1.204 MB / 1.422 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.345, allocations: 0 / 1.422 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.345, allocations: 67.89 kB / 1.422 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/1.346, allocations: 145.5 kB / 1.422 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/1.346, allocations: 6.812 kB / 1.422 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/1.349, allocations: 3.849 MB / 1.426 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.349, allocations: 4.031 kB / 1.426 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/1.35, allocations: 0.8147 MB / 1.426 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/1.35, allocations: 139.1 kB / 1.427 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/1.35, allocations: 3.938 kB / 1.427 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/1.35, allocations: 31.95 kB / 1.427 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.35, allocations: 35.11 kB / 1.427 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/1.35, allocations: 11.81 kB / 1.427 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001666/1.351, allocations: 161.4 kB / 1.427 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.351, allocations: 0 / 1.427 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000839/1.351, allocations: 151.9 kB / 1.427 GB, free: 2.461 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.0002766/1.352, allocations: 159 kB / 1.427 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001447/1.353, allocations: 1.016 MB / 1.428 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.353, allocations: 0.5 kB / 1.428 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/1.354, allocations: 435.9 kB / 1.428 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/1.354, allocations: 43.7 kB / 1.429 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/1.355, allocations: 0.5326 MB / 1.429 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/1.356, allocations: 0.811 MB / 1.43 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003678/1.356, allocations: 119.2 kB / 1.43 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/1.356, allocations: 23.44 kB / 1.43 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/1.356, allocations: 0 / 1.43 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.009827/1.366, allocations: 5.502 MB / 1.435 GB, free: 10.08 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches