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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 100 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.001405/0.001405, 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.492/1.492, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.539/2.539, allocations: 390.2 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 15.94 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.8914, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003417/0.8949, allocations: 2.856 MB / 0.9563 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002525/0.8974, allocations: 1.968 MB / 0.9582 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.8976, allocations: 7.906 kB / 0.9582 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.8978, allocations: 37.91 kB / 0.9583 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.8982, allocations: 163 kB / 0.9584 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.8987, allocations: 209.5 kB / 0.9586 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.899, allocations: 237.1 kB / 0.9589 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004481/0.8995, allocations: 317.6 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.8997, allocations: 111.7 kB / 0.9593 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.8999, allocations: 120.1 kB / 0.9594 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.8999, allocations: 11.38 kB / 0.9594 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.9003, allocations: 266 kB / 0.9596 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.9004, allocations: 75.48 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.9005, allocations: 70.86 kB / 0.9598 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.9009, allocations: 380.1 kB / 0.9601 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.9009, allocations: 0 / 0.9601 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9009, allocations: 0 / 0.9601 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.901, allocations: 0.9688 kB / 0.9601 GB, free: 3.066 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.0008274/0.9018, allocations: 0.5618 MB / 0.9607 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.9018, allocations: 9.625 kB / 0.9607 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008619/0.9027, allocations: 137.5 kB / 0.9608 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.9031, allocations: 269.3 kB / 0.9611 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.9031, allocations: 12.75 kB / 0.9611 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.9031, allocations: 22.23 kB / 0.9611 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.9038, allocations: 415.9 kB / 0.9615 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.9038, allocations: 0.9062 kB / 0.9615 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.9039, allocations: 14.23 kB / 0.9615 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.63e-05/0.904, allocations: 40.22 kB / 0.9616 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006231/0.9046, allocations: 353.1 kB / 0.9619 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.907, allocations: 2.061 MB / 0.9639 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008566/0.9078, allocations: 365.6 kB / 0.9643 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.908, allocations: 84.27 kB / 0.9644 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.908, allocations: 40.25 kB / 0.9644 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.908, allocations: 0 / 0.9644 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.005519/0.9136, allocations: 1.768 MB / 0.9661 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.9137, allocations: 85.3 kB / 0.9662 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.914, allocations: 237.8 kB / 0.9664 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.9141, allocations: 31.64 kB / 0.9665 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.9142, allocations: 182 kB / 0.9666 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.9144, allocations: 113.5 kB / 0.9667 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.9144, allocations: 9 kB / 0.9667 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.9146, allocations: 338.1 kB / 0.9671 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/0.9153, allocations: 206.9 kB / 0.9673 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007639/0.9161, allocations: 309.2 kB / 0.9676 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.9168, allocations: 245.2 kB / 0.9678 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9168, allocations: 0.9688 kB / 0.9678 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001408/0.9182, allocations: 0.6857 MB / 0.9685 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004783/0.9187, allocations: 1.137 MB / 0.9696 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.9187, allocations: 3.344 kB / 0.9696 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.9193, allocations: 152.8 kB / 0.9697 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.9198, allocations: 92.94 kB / 0.9698 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.9229, allocations: 3.978 MB / 0.9737 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.9233, allocations: 42.77 kB / 0.9737 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.9234, allocations: 16.41 kB / 0.9738 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9234, allocations: 3.406 kB / 0.9738 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.9247, allocations: 0.6341 MB / 0.9744 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.9247, allocations: 3.469 kB / 0.9744 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/0.9252, allocations: 144.5 kB / 0.9745 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.9256, allocations: 100.9 kB / 0.9746 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007654/0.9264, allocations: 1.117 MB / 0.9757 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.9268, allocations: 41.48 kB / 0.9757 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.9268, allocations: 12.53 kB / 0.9758 GB, free: 5.984 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 (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.0003547/0.9272, allocations: 257.5 kB / 0.976 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.9273, allocations: 25.16 kB / 0.976 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.9289, allocations: 0.6448 MB / 0.9767 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.9289, allocations: 7.359 kB / 0.9767 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9289, allocations: 4.938 kB / 0.9767 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.9289, allocations: 0.9688 kB / 0.9767 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.9315, allocations: 1.231 MB / 0.9779 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.9315, allocations: 5.125 kB / 0.9779 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.9318, allocations: 65.55 kB / 0.9779 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005258/0.9323, allocations: 160.6 kB / 0.9781 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.9324, allocations: 7.781 kB / 0.9781 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003506/0.9359, allocations: 3.995 MB / 0.982 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9359, allocations: 3.625 kB / 0.982 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.9373, allocations: 0.8902 MB / 0.9829 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.9375, allocations: 141.1 kB / 0.983 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.9376, allocations: 12.66 kB / 0.983 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.9379, allocations: 36.83 kB / 0.9831 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.938, allocations: 34.17 kB / 0.9831 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.938, allocations: 9.062 kB / 0.9831 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000183/0.9382, allocations: 169.3 kB / 0.9833 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9382, allocations: 1.062 kB / 0.9833 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008506/0.9391, allocations: 161.4 kB / 0.9834 GB, free: 15.32 MB / 0.7481 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 (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.000224/0.9393, allocations: 135.1 kB / 0.9835 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.9414, allocations: 1.228 MB / 0.9847 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9415, allocations: 0 / 0.9847 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007384/0.9422, allocations: 0.499 MB / 0.9852 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.9426, allocations: 52.34 kB / 0.9853 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.944, allocations: 0.8617 MB / 0.9861 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.9444, allocations: 0.8123 MB / 0.9869 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003376/0.9447, allocations: 118.8 kB / 0.987 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.9448, allocations: 27.44 kB / 0.9871 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.9448, allocations: 0 / 0.9871 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.009868/0.9547, allocations: 5.473 MB / 0.9924 GB, free: 6.602 MB / 0.7481 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