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.001406/0.001406, allocations: 100.1 kB / 16.29 MB, free: 6 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.001656/0.001656, allocations: 184.5 kB / 17.22 MB, free: 5.617 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.951/1.951, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.154/2.154, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001538/0.001538, allocations: 67.89 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3883, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.007455/0.3958, allocations: 2.727 MB / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6279/1.024, allocations: 2.046 MB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/1.024, allocations: 8.125 kB / 0.7888 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008679/1.025, allocations: 230.1 kB / 0.789 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005495/1.026, allocations: 189.7 kB / 0.7892 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/1.026, allocations: 277 kB / 0.7894 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003567/1.027, allocations: 318.6 kB / 0.7897 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/1.027, allocations: 154.6 kB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/1.027, allocations: 129.2 kB / 0.79 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/1.028, allocations: 152.5 kB / 0.7901 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/1.028, allocations: 21.12 kB / 0.7902 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000622/1.028, allocations: 381.4 kB / 0.7905 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/1.028, allocations: 98.41 kB / 0.7906 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/1.029, allocations: 112 kB / 0.7907 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005635/1.029, allocations: 465.1 kB / 0.7912 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.029, allocations: 3.219 kB / 0.7912 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.866e-06/1.029, allocations: 0 / 0.7912 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.029, allocations: 3.938 kB / 0.7912 GB, free: 45.96 MB / 0.6544 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.0008952/1.03, allocations: 0.5457 MB / 0.7917 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.03, allocations: 9.531 kB / 0.7917 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007113/1.031, allocations: 109.3 kB / 0.7918 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/1.031, allocations: 252.3 kB / 0.7921 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.031, allocations: 18.45 kB / 0.7921 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/1.031, allocations: 21.55 kB / 0.7921 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/1.032, allocations: 387.6 kB / 0.7925 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/1.032, allocations: 6.562 kB / 0.7925 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/1.032, allocations: 7.453 kB / 0.7925 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.05e-05/1.032, allocations: 22.8 kB / 0.7925 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/1.033, allocations: 359.2 kB / 0.7928 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/1.034, allocations: 1.73 MB / 0.7945 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/1.035, allocations: 338.4 kB / 0.7949 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/1.035, allocations: 185 kB / 0.795 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/1.035, allocations: 90.52 kB / 0.7951 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.035, allocations: 38.25 kB / 0.7952 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.876e-06/1.035, allocations: 1.812 kB / 0.7952 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.006819/1.042, allocations: 1.918 MB / 0.797 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.042, allocations: 83.67 kB / 0.7971 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/1.042, allocations: 182.8 kB / 0.7973 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/1.042, allocations: 29.58 kB / 0.7973 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/1.042, allocations: 157.6 kB / 0.7975 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/1.043, allocations: 121.3 kB / 0.7976 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/1.043, allocations: 74.36 kB / 0.7977 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/1.043, allocations: 331.3 kB / 0.798 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/1.043, allocations: 253.3 kB / 0.7982 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/1.044, allocations: 333.9 kB / 0.7985 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/1.045, allocations: 0.5986 MB / 0.7991 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.045, allocations: 1.375 kB / 0.7991 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00126/1.046, allocations: 0.6451 MB / 0.7997 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.046, allocations: 6.75 kB / 0.7998 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/1.046, allocations: 1.875 kB / 0.7998 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/1.046, allocations: 5.781 kB / 0.7998 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/1.047, allocations: 149 kB / 0.7999 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.047, allocations: 4.031 kB / 0.7999 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/1.047, allocations: 53.3 kB / 0.8 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/1.047, allocations: 14.47 kB / 0.8 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006162/1.048, allocations: 365.2 kB / 0.8003 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005614/1.049, allocations: 323 kB / 0.8006 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00111/1.05, allocations: 0.5672 MB / 0.8012 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/1.05, allocations: 0 / 0.8012 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001368/1.051, allocations: 0.6169 MB / 0.8018 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.051, allocations: 7.094 kB / 0.8018 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.051, allocations: 4.344 kB / 0.8018 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/1.051, allocations: 4.5 kB / 0.8018 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009075/1.052, allocations: 143.2 kB / 0.8019 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.052, allocations: 8.625 kB / 0.8019 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/1.053, allocations: 50.86 kB / 0.802 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/1.053, allocations: 17.05 kB / 0.802 GB, free: 41.71 MB / 0.6544 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.0001664/1.053, allocations: 202 kB / 0.8022 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/1.053, allocations: 23.28 kB / 0.8022 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/1.054, allocations: 0.6768 MB / 0.8029 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/1.054, allocations: 4.188 kB / 0.8029 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.054, allocations: 1.188 kB / 0.8029 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.054, allocations: 3.172 kB / 0.8029 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/1.057, allocations: 1.361 MB / 0.8042 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.057, allocations: 2.594 kB / 0.8042 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/1.058, allocations: 120 kB / 0.8043 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/1.058, allocations: 4.062 kB / 0.8043 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/1.058, allocations: 8.688 kB / 0.8043 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/1.058, allocations: 11.62 kB / 0.8044 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.058, allocations: 2.656 kB / 0.8044 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/1.059, allocations: 0.7169 MB / 0.8051 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/1.059, allocations: 139.9 kB / 0.8052 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/1.059, allocations: 10.83 kB / 0.8052 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/1.059, allocations: 42.38 kB / 0.8052 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.06, allocations: 31 kB / 0.8053 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/1.06, allocations: 13.73 kB / 0.8053 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001644/1.06, allocations: 146.4 kB / 0.8054 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/1.06, allocations: 0.5625 kB / 0.8054 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008636/1.061, allocations: 143.4 kB / 0.8056 GB, free: 39.71 MB / 0.6544 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.0003091/1.061, allocations: 132.4 kB / 0.8057 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002162/1.063, allocations: 0.8515 MB / 0.8065 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.063, allocations: 0 / 0.8065 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005855/1.064, allocations: 258.4 kB / 0.8068 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/1.064, allocations: 48.08 kB / 0.8068 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/1.066, allocations: 0.6954 MB / 0.8075 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/1.067, allocations: 0.7871 MB / 0.8083 GB, free: 38.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006735/1.067, allocations: 168.2 kB / 0.8084 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/1.067, allocations: 29.66 kB / 0.8085 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of SimCode: time 1.503e-06/1.067, allocations: 0 / 0.8085 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.01713/1.085, allocations: 4.801 MB / 0.8131 GB, free: 37.92 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)