Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 99.86 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.002122/0.002122, 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.508/1.508, allocations: 223.2 MB / 239.9 MB, free: 5.246 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.536/2.536, allocations: 390.2 MB / 0.6653 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 8 kB / 0.8145 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8751/0.8755, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00323/0.8788, allocations: 2.323 MB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.8815, allocations: 1.832 MB / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.8816, allocations: 5.062 kB / 0.9576 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.8818, allocations: 30.31 kB / 0.9576 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.8822, allocations: 128.3 kB / 0.9577 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.8829, allocations: 206.3 kB / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.8832, allocations: 176.9 kB / 0.9581 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006107/0.8838, allocations: 352.3 kB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.884, allocations: 89.56 kB / 0.9585 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.8842, allocations: 105.2 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.8843, allocations: 10.28 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.8847, allocations: 244.7 kB / 0.9589 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.8849, allocations: 76.3 kB / 0.9589 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.8849, allocations: 64.05 kB / 0.959 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.8853, allocations: 338.6 kB / 0.9593 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.8853, allocations: 0 / 0.9593 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8853, allocations: 0 / 0.9593 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.8853, allocations: 5.312 kB / 0.9593 GB, free: 3.68 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007878/0.8861, allocations: 0.5241 MB / 0.9598 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.8862, allocations: 12.19 kB / 0.9598 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.887, allocations: 116.2 kB / 0.96 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.8873, allocations: 248.1 kB / 0.9602 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.8873, allocations: 15.52 kB / 0.9602 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.8874, allocations: 21.06 kB / 0.9602 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006628/0.888, allocations: 383.5 kB / 0.9606 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.8881, allocations: 4.625 kB / 0.9606 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.8881, allocations: 18.67 kB / 0.9606 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.962e-05/0.8882, allocations: 21.02 kB / 0.9606 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006835/0.8889, allocations: 367.5 kB / 0.961 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.8906, allocations: 1.735 MB / 0.9627 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/0.8913, allocations: 345.1 kB / 0.963 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.8915, allocations: 88.41 kB / 0.9631 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.8915, allocations: 49.14 kB / 0.9631 GB, free: 468 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.8915, allocations: 0 / 0.9631 GB, free: 468 kB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.007664/0.8992, allocations: 2.067 MB / 0.9652 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.8993, allocations: 88.28 kB / 0.9652 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.8995, allocations: 174.3 kB / 0.9654 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.8995, allocations: 35.67 kB / 0.9654 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.8996, allocations: 150.2 kB / 0.9656 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.8998, allocations: 117.3 kB / 0.9657 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.8998, allocations: 9.312 kB / 0.9657 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.9, allocations: 333 kB / 0.966 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.9005, allocations: 261 kB / 0.9663 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.9011, allocations: 339 kB / 0.9666 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.9016, allocations: 287.1 kB / 0.9669 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9016, allocations: 0.9688 kB / 0.9669 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001293/0.9029, allocations: 0.6631 MB / 0.9675 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.9033, allocations: 0.8772 MB / 0.9684 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.9033, allocations: 1.938 kB / 0.9684 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.9033, allocations: 5 kB / 0.9684 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009224/0.9043, allocations: 153.2 kB / 0.9685 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.9043, allocations: 11.38 kB / 0.9685 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.9047, allocations: 54.64 kB / 0.9686 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.9048, allocations: 16.16 kB / 0.9686 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.9048, allocations: 4.031 kB / 0.9686 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001145/0.9059, allocations: 0.5917 MB / 0.9692 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.906, allocations: 5.266 kB / 0.9692 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.906, allocations: 5.562 kB / 0.9692 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008247/0.9068, allocations: 155.1 kB / 0.9693 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.9068, allocations: 7.844 kB / 0.9694 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.9072, allocations: 52.34 kB / 0.9694 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.9073, allocations: 19.92 kB / 0.9694 GB, free: 12.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002417/0.9075, allocations: 238.3 kB / 0.9697 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.9076, allocations: 22.91 kB / 0.9697 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.909, allocations: 0.699 MB / 0.9704 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.909, allocations: 4.719 kB / 0.9704 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.909, allocations: 0 / 0.9704 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.909, allocations: 1.219 kB / 0.9704 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.9113, allocations: 1.381 MB / 0.9717 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.9114, allocations: 2.094 kB / 0.9717 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.912, allocations: 123.4 kB / 0.9718 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.912, allocations: 9.203 kB / 0.9718 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.912, allocations: 11.94 kB / 0.9719 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.912, allocations: 7.469 kB / 0.9719 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9121, allocations: 2.281 kB / 0.9719 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.9132, allocations: 0.8213 MB / 0.9727 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.9134, allocations: 141.2 kB / 0.9728 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.9135, allocations: 8.031 kB / 0.9728 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.9138, allocations: 43.84 kB / 0.9728 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.9139, allocations: 29.55 kB / 0.9729 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.914, allocations: 21.28 kB / 0.9729 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001351/0.9141, allocations: 144.9 kB / 0.973 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9141, allocations: 1.469 kB / 0.973 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007472/0.9149, allocations: 146.8 kB / 0.9732 GB, free: 9.684 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002242/0.9151, allocations: 137.4 kB / 0.9733 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.9168, allocations: 0.8828 MB / 0.9742 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.9168, allocations: 3.938 kB / 0.9742 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.9173, allocations: 265.7 kB / 0.9744 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.9177, allocations: 38.47 kB / 0.9745 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.919, allocations: 0.8227 MB / 0.9753 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.9194, allocations: 0.7849 MB / 0.976 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005466/0.92, allocations: 172.3 kB / 0.9762 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.9201, allocations: 31.19 kB / 0.9762 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.9201, allocations: 0 / 0.9762 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of Templates: time 0.008445/0.9286, allocations: 4.371 MB / 0.9805 GB, free: 3.688 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches