Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001479/0.001479, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 187.7 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.956/1.956, allocations: 292.3 MB / 0.5489 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.75 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2511, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004483/0.2556, allocations: 2.743 MB / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00329/0.259, allocations: 2.039 MB / 0.7888 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2591, allocations: 7.938 kB / 0.7888 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008353/0.26, allocations: 230.2 kB / 0.789 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.2605, allocations: 195.1 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.2612, allocations: 283.2 kB / 0.7895 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.2616, allocations: 306.9 kB / 0.7898 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.2619, allocations: 165.9 kB / 0.7899 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.2621, allocations: 127.6 kB / 0.79 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.2624, allocations: 155.5 kB / 0.7902 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.2624, allocations: 20 kB / 0.7902 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.263, allocations: 371.3 kB / 0.7906 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.2631, allocations: 91.77 kB / 0.7907 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.2632, allocations: 115.4 kB / 0.7908 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.2637, allocations: 470.6 kB / 0.7912 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2637, allocations: 0 / 0.7912 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2638, allocations: 0 / 0.7912 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.2638, allocations: 0 / 0.7912 GB, free: 5.426 MB / 0.6075 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.0009918/0.2648, allocations: 0.5576 MB / 0.7918 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2648, allocations: 8.031 kB / 0.7918 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007357/0.2656, allocations: 108.5 kB / 0.7919 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.2659, allocations: 266.9 kB / 0.7921 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2659, allocations: 12.81 kB / 0.7921 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.266, allocations: 24.12 kB / 0.7922 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.2666, allocations: 381.9 kB / 0.7925 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2667, allocations: 0 / 0.7925 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.2667, allocations: 8 kB / 0.7925 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.2667, allocations: 27.98 kB / 0.7926 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/0.2673, allocations: 371.6 kB / 0.7929 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2693, allocations: 1.718 MB / 0.7946 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.2699, allocations: 344.9 kB / 0.7949 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.2702, allocations: 181.6 kB / 0.7951 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.2704, allocations: 89.09 kB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2704, allocations: 34.56 kB / 0.7952 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.2704, allocations: 0 / 0.7952 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.006929/0.2774, allocations: 1.916 MB / 0.7971 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.2774, allocations: 85.05 kB / 0.7972 GB, free: 15 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.2776, allocations: 181.3 kB / 0.7973 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.2777, allocations: 29.7 kB / 0.7974 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2778, allocations: 152.3 kB / 0.7975 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.87e-05/0.2779, allocations: 118.3 kB / 0.7976 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.2781, allocations: 81.69 kB / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2783, allocations: 330.8 kB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.2787, allocations: 248.7 kB / 0.7983 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.2793, allocations: 345.4 kB / 0.7986 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009768/0.2802, allocations: 0.5878 MB / 0.7992 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2803, allocations: 7.938 kB / 0.7992 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001101/0.2814, allocations: 0.6466 MB / 0.7998 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2814, allocations: 9.219 kB / 0.7998 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2814, allocations: 11.98 kB / 0.7998 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2814, allocations: 4 kB / 0.7998 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.2823, allocations: 143.8 kB / 0.8 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2823, allocations: 4 kB / 0.8 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.2827, allocations: 51.92 kB / 0.8 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.2827, allocations: 19.94 kB / 0.8 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005359/0.2833, allocations: 360.6 kB / 0.8004 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004924/0.2838, allocations: 313.3 kB / 0.8007 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009206/0.2847, allocations: 0.5705 MB / 0.8012 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.2847, allocations: 0 / 0.8012 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001096/0.2858, allocations: 0.6183 MB / 0.8018 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2858, allocations: 8 kB / 0.8018 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.2858, allocations: 7.875 kB / 0.8018 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.2859, allocations: 4 kB / 0.8019 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.2866, allocations: 147.8 kB / 0.802 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2866, allocations: 4 kB / 0.802 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.287, allocations: 48.12 kB / 0.802 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.2871, allocations: 19.98 kB / 0.8021 GB, free: 9.797 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.2872, allocations: 204.1 kB / 0.8023 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.2873, allocations: 19.81 kB / 0.8023 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.2887, allocations: 0.6684 MB / 0.8029 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.2887, allocations: 4 kB / 0.8029 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2887, allocations: 0 / 0.8029 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2887, allocations: 3.984 kB / 0.8029 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.2909, allocations: 1.367 MB / 0.8043 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2909, allocations: 7.938 kB / 0.8043 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/0.2915, allocations: 119.8 kB / 0.8044 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.2915, allocations: 4 kB / 0.8044 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.2915, allocations: 12 kB / 0.8044 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.2915, allocations: 7.938 kB / 0.8044 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2915, allocations: 3.938 kB / 0.8044 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2925, allocations: 0.7032 MB / 0.8051 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.2927, allocations: 144.7 kB / 0.8052 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.2928, allocations: 8 kB / 0.8053 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.2931, allocations: 47.88 kB / 0.8053 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.2932, allocations: 23.97 kB / 0.8053 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.2932, allocations: 19.94 kB / 0.8053 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001344/0.2933, allocations: 144.9 kB / 0.8055 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2934, allocations: 4 kB / 0.8055 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006447/0.294, allocations: 140 kB / 0.8056 GB, free: 5.988 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.2942, allocations: 131.2 kB / 0.8057 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.2957, allocations: 0.8477 MB / 0.8066 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2957, allocations: 0 / 0.8066 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.2962, allocations: 265.2 kB / 0.8068 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.2967, allocations: 49.14 kB / 0.8069 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2979, allocations: 0.697 MB / 0.8075 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.2983, allocations: 0.7877 MB / 0.8083 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004458/0.2987, allocations: 174.8 kB / 0.8085 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.2989, allocations: 27.44 kB / 0.8085 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of SimCode: time 4.9e-07/0.2989, allocations: 0 / 0.8085 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of Templates: time 0.008252/0.3071, allocations: 4.81 MB / 0.8132 GB, free: 14.15 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)