Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.4 MB / 303.4 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 174.8 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009152/0.0009155, allocations: 94.39 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004137, allocations: 12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2662, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003319/0.2696, allocations: 2.354 MB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.2725, allocations: 1.892 MB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.2728, allocations: 4 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.2731, allocations: 31.77 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006674/0.2738, allocations: 139.4 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.2746, allocations: 211.5 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.2751, allocations: 363 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007329/0.2759, allocations: 354.5 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.2762, allocations: 107.6 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.2765, allocations: 147.5 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.2766, allocations: 8 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.2771, allocations: 247.6 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2772, allocations: 83.77 kB / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.2773, allocations: 61.58 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.2778, allocations: 339.5 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2778, allocations: 0 / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2778, allocations: 7.938 kB / 0.9858 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2778, allocations: 0 / 0.9858 GB, free: 21.29 MB / 0.6198 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.0008461/0.2787, allocations: 0.5107 MB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2787, allocations: 8.031 kB / 0.9863 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006722/0.2794, allocations: 111.5 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.2797, allocations: 256.5 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.2797, allocations: 20.42 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.2798, allocations: 23.94 kB / 0.9867 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.2803, allocations: 389.9 kB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2803, allocations: 0 / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.2804, allocations: 4 kB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.2804, allocations: 23.98 kB / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.281, allocations: 383.4 kB / 0.9874 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.2826, allocations: 1.726 MB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.2831, allocations: 344.9 kB / 0.9894 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.2834, allocations: 193.6 kB / 0.9896 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.2836, allocations: 89.08 kB / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.2836, allocations: 38.56 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.552e-06/0.2836, allocations: 0 / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.006903/0.2905, allocations: 2.073 MB / 0.9918 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2906, allocations: 81.11 kB / 0.9918 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2907, allocations: 175.7 kB / 0.992 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.2908, allocations: 41.64 kB / 0.992 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.2908, allocations: 144.4 kB / 0.9922 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.2909, allocations: 122.2 kB / 0.9923 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.291, allocations: 8 kB / 0.9923 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.291, allocations: 330.8 kB / 0.9926 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.2915, allocations: 259.8 kB / 0.9929 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.2919, allocations: 341.5 kB / 0.9932 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.2924, allocations: 301.2 kB / 0.9935 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2924, allocations: 4 kB / 0.9935 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001006/0.2934, allocations: 0.6497 MB / 0.9941 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/0.2935, allocations: 153 kB / 0.9943 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2935, allocations: 4 kB / 0.9943 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.2935, allocations: 4 kB / 0.9943 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/0.2944, allocations: 155.7 kB / 0.9944 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2944, allocations: 7.953 kB / 0.9944 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.2948, allocations: 63.92 kB / 0.9945 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.2948, allocations: 15.98 kB / 0.9945 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.2949, allocations: 5.25 kB / 0.9945 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009361/0.2958, allocations: 0.5817 MB / 0.9951 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2958, allocations: 4 kB / 0.9951 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.97e-06/0.2958, allocations: 8.219 kB / 0.9951 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/0.2966, allocations: 151.8 kB / 0.9952 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2966, allocations: 4 kB / 0.9952 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.297, allocations: 55.92 kB / 0.9953 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.297, allocations: 12 kB / 0.9953 GB, free: 11.05 MB / 0.6198 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.0001819/0.2972, allocations: 248.9 kB / 0.9955 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.2973, allocations: 23.72 kB / 0.9956 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.2985, allocations: 0.6919 MB / 0.9962 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.2985, allocations: 4 kB / 0.9962 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2985, allocations: 4 kB / 0.9962 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.2985, allocations: 3.984 kB / 0.9963 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.3004, allocations: 1.387 MB / 0.9976 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3004, allocations: 0 / 0.9976 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.301, allocations: 127.8 kB / 0.9977 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.301, allocations: 4 kB / 0.9977 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.301, allocations: 12 kB / 0.9977 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.301, allocations: 256 / 0.9977 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.3011, allocations: 8 kB / 0.9978 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.3019, allocations: 0.7499 MB / 0.9985 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3021, allocations: 144.7 kB / 0.9986 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.3021, allocations: 8 kB / 0.9986 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.3024, allocations: 47.94 kB / 0.9987 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.3025, allocations: 31.92 kB / 0.9987 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.3026, allocations: 8 kB / 0.9987 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.974e-05/0.3027, allocations: 151 kB / 0.9989 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3027, allocations: 0 / 0.9989 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005689/0.3032, allocations: 144 kB / 0.999 GB, free: 7.102 MB / 0.6198 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.0002096/0.3035, allocations: 131.2 kB / 0.9991 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.3048, allocations: 0.8705 MB / 1 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3048, allocations: 0 / 1 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.3052, allocations: 264.8 kB / 1 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.3057, allocations: 40.16 kB / 1 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3067, allocations: 0.838 MB / 1.001 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.307, allocations: 0.776 MB / 1.002 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004711/0.3075, allocations: 186.7 kB / 1.002 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3076, allocations: 31.44 kB / 1.002 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3076, allocations: 3.938 kB / 1.002 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of Templates: time 0.007324/0.3149, allocations: 4.374 MB / 1.006 GB, free: 15.55 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)