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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 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: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.608/2.608, allocations: 390.2 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004213, allocations: 12 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.783/0.7835, allocations: 142.3 MB / 0.9535 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003659/0.7872, allocations: 2.904 MB / 0.9563 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003058/0.7903, allocations: 1.98 MB / 0.9583 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.7905, allocations: 10.97 kB / 0.9583 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.7906, allocations: 38.28 kB / 0.9583 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.7912, allocations: 159.3 kB / 0.9585 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.7919, allocations: 212.5 kB / 0.9587 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.7923, allocations: 234.1 kB / 0.9589 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004786/0.7927, allocations: 317.8 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.7929, allocations: 106.4 kB / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.7932, allocations: 115.7 kB / 0.9594 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.7932, allocations: 10.88 kB / 0.9594 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.7938, allocations: 262.8 kB / 0.9597 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.7939, allocations: 83.23 kB / 0.9598 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.794, allocations: 70.58 kB / 0.9598 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.7945, allocations: 367.9 kB / 0.9602 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.7945, allocations: 5.031 kB / 0.9602 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7945, allocations: 4 kB / 0.9602 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.7945, allocations: 0 / 0.9602 GB, free: 3.215 MB / 0.7169 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.001021/0.7955, allocations: 0.5666 MB / 0.9607 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7956, allocations: 8.25 kB / 0.9607 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009715/0.7966, allocations: 134.5 kB / 0.9609 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.7969, allocations: 273.2 kB / 0.9611 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.797, allocations: 17.5 kB / 0.9612 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.797, allocations: 22.14 kB / 0.9612 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.7977, allocations: 414.7 kB / 0.9616 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7978, allocations: 0.9375 kB / 0.9616 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.7978, allocations: 10.95 kB / 0.9616 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/0.7979, allocations: 32.14 kB / 0.9616 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006567/0.7985, allocations: 360.8 kB / 0.962 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.8008, allocations: 2.047 MB / 0.964 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008283/0.8016, allocations: 355.7 kB / 0.9643 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.8018, allocations: 96.28 kB / 0.9644 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.8018, allocations: 35.81 kB / 0.9644 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.8018, allocations: 1.094 kB / 0.9644 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.003607/0.8054, allocations: 1.278 MB / 0.9657 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.8055, allocations: 84.56 kB / 0.9657 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.8058, allocations: 229.7 kB / 0.966 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.8058, allocations: 32.39 kB / 0.966 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.8059, allocations: 185.8 kB / 0.9662 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.806, allocations: 90.56 kB / 0.9663 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.806, allocations: 6.219 kB / 0.9663 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8062, allocations: 344.8 kB / 0.9666 GB, free: 14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.8066, allocations: 170 kB / 0.9668 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.807, allocations: 266.7 kB / 0.967 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.8074, allocations: 209.5 kB / 0.9672 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8074, allocations: 1.031 kB / 0.9672 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001242/0.8087, allocations: 0.5506 MB / 0.9678 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005114/0.8092, allocations: 1.141 MB / 0.9689 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.8092, allocations: 3 kB / 0.9689 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.8096, allocations: 84.66 kB / 0.9689 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.81, allocations: 90.06 kB / 0.969 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.8117, allocations: 1.97 MB / 0.971 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.8121, allocations: 40.06 kB / 0.971 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.8121, allocations: 12.12 kB / 0.971 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8121, allocations: 3.188 kB / 0.971 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001211/0.8134, allocations: 0.5074 MB / 0.9715 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.8134, allocations: 7.188 kB / 0.9715 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.8136, allocations: 71.52 kB / 0.9716 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.814, allocations: 97.58 kB / 0.9717 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003677/0.8144, allocations: 0.5514 MB / 0.9722 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.8147, allocations: 31.03 kB / 0.9722 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.8148, allocations: 28.08 kB / 0.9723 GB, free: 9.148 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002556/0.815, allocations: 240.1 kB / 0.9725 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.8151, allocations: 27.88 kB / 0.9725 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.8162, allocations: 0.4982 MB / 0.973 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.8162, allocations: 3.219 kB / 0.973 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8162, allocations: 5.188 kB / 0.973 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.8162, allocations: 0 / 0.973 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.8181, allocations: 1.031 MB / 0.974 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.8181, allocations: 6.25 kB / 0.974 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.8184, allocations: 62.42 kB / 0.9741 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.8187, allocations: 84.83 kB / 0.9742 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.8187, allocations: 7.031 kB / 0.9742 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.8202, allocations: 1.987 MB / 0.9761 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8202, allocations: 2.188 kB / 0.9761 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.8213, allocations: 0.7557 MB / 0.9769 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.8215, allocations: 132.2 kB / 0.977 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.8216, allocations: 8.062 kB / 0.977 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.8218, allocations: 32.34 kB / 0.977 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.8219, allocations: 30.69 kB / 0.9771 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.822, allocations: 8.844 kB / 0.9771 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001858/0.8222, allocations: 169.4 kB / 0.9772 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8222, allocations: 0 / 0.9772 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007093/0.8229, allocations: 142.5 kB / 0.9774 GB, free: 4.867 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001721/0.8231, allocations: 120 kB / 0.9775 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.8246, allocations: 0.8429 MB / 0.9783 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8246, allocations: 1.406 kB / 0.9783 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.8252, allocations: 328.6 kB / 0.9786 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.8256, allocations: 53.45 kB / 0.9787 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.8267, allocations: 0.786 MB / 0.9794 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.8271, allocations: 0.8012 MB / 0.9802 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003344/0.8275, allocations: 113.1 kB / 0.9803 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.8276, allocations: 23.06 kB / 0.9803 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.8276, allocations: 1.125 kB / 0.9803 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of Templates: time 0.007828/0.8354, allocations: 3.92 MB / 0.9842 GB, free: 15.57 MB / 0.7481 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