Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001423/0.001423, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.00155/0.00155, allocations: 186.7 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7391/0.7391, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.89 kB / 0.4911 GB, free: 7.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4258, allocations: 77.92 MB / 0.5672 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004773/0.4306, allocations: 2.733 MB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003538/0.4342, allocations: 2.073 MB / 0.5719 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.4345, allocations: 4.344 kB / 0.5719 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009145/0.4355, allocations: 238.9 kB / 0.5721 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007047/0.4362, allocations: 212.2 kB / 0.5723 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.4371, allocations: 282.4 kB / 0.5726 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.4375, allocations: 316.2 kB / 0.5729 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.4378, allocations: 159.2 kB / 0.5731 GB, free: 28.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.438, allocations: 123 kB / 0.5732 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.4383, allocations: 154.1 kB / 0.5733 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.4384, allocations: 19.03 kB / 0.5733 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007726/0.4392, allocations: 419 kB / 0.5737 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.4393, allocations: 99.09 kB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.4394, allocations: 110.8 kB / 0.5739 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007942/0.4402, allocations: 481.4 kB / 0.5744 GB, free: 28.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4402, allocations: 0 / 0.5744 GB, free: 28.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4403, allocations: 1.188 kB / 0.5744 GB, free: 28.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.4403, allocations: 0.9688 kB / 0.5744 GB, free: 28.24 MB / 446.1 MB 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.0008984/0.4412, allocations: 0.5653 MB / 0.5749 GB, free: 27.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4412, allocations: 11.19 kB / 0.575 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.4423, allocations: 130.3 kB / 0.5751 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.4426, allocations: 260.2 kB / 0.5753 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.4426, allocations: 12.84 kB / 0.5753 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.4427, allocations: 22.39 kB / 0.5754 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007696/0.4435, allocations: 398 kB / 0.5757 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4435, allocations: 1.344 kB / 0.5757 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.4436, allocations: 16.23 kB / 0.5758 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.1e-05/0.4436, allocations: 25.66 kB / 0.5758 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007944/0.4444, allocations: 378.2 kB / 0.5761 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.4465, allocations: 1.737 MB / 0.5778 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.4473, allocations: 355.2 kB / 0.5782 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.4477, allocations: 192 kB / 0.5784 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.4479, allocations: 87.36 kB / 0.5784 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.4479, allocations: 39.12 kB / 0.5785 GB, free: 25.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.4479, allocations: 3.938 kB / 0.5785 GB, free: 25.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.009325/0.4573, allocations: 2.048 MB / 0.5805 GB, free: 24.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.4574, allocations: 84.69 kB / 0.5806 GB, free: 24.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.4576, allocations: 179.3 kB / 0.5807 GB, free: 24.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.4576, allocations: 34.83 kB / 0.5808 GB, free: 24.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.4577, allocations: 143.2 kB / 0.5809 GB, free: 24.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.411e-05/0.4578, allocations: 120 kB / 0.581 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.458, allocations: 83.7 kB / 0.5811 GB, free: 24.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.4581, allocations: 328.2 kB / 0.5814 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.4587, allocations: 268.4 kB / 0.5817 GB, free: 23.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.4593, allocations: 355.3 kB / 0.582 GB, free: 23.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4604, allocations: 0.6258 MB / 0.5826 GB, free: 22.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4604, allocations: 5.938 kB / 0.5826 GB, free: 22.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001329/0.4618, allocations: 0.6546 MB / 0.5833 GB, free: 22.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.4618, allocations: 5.156 kB / 0.5833 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4618, allocations: 2.5 kB / 0.5833 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.4619, allocations: 3.844 kB / 0.5833 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000991/0.4629, allocations: 160.6 kB / 0.5834 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.4629, allocations: 8.219 kB / 0.5834 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.4634, allocations: 55.53 kB / 0.5835 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.4634, allocations: 16.59 kB / 0.5835 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007149/0.4641, allocations: 371.2 kB / 0.5839 GB, free: 22.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005428/0.4647, allocations: 331.7 kB / 0.5842 GB, free: 22.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/0.4657, allocations: 0.5906 MB / 0.5848 GB, free: 21.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.4658, allocations: 1.344 kB / 0.5848 GB, free: 21.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001325/0.4671, allocations: 0.6438 MB / 0.5854 GB, free: 21.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4671, allocations: 5.688 kB / 0.5854 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4671, allocations: 1.344 kB / 0.5854 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.4671, allocations: 5.438 kB / 0.5854 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009077/0.468, allocations: 148.3 kB / 0.5855 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4681, allocations: 8.812 kB / 0.5855 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.4685, allocations: 50.05 kB / 0.5856 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.4686, allocations: 16.59 kB / 0.5856 GB, free: 21.31 MB / 446.1 MB 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.0001457/0.4687, allocations: 209 kB / 0.5858 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.4688, allocations: 23.28 kB / 0.5858 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.4702, allocations: 0.6811 MB / 0.5865 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4702, allocations: 2.906 kB / 0.5865 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.4702, allocations: 1.703 kB / 0.5865 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4702, allocations: 7.969 kB / 0.5865 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.4722, allocations: 1.368 MB / 0.5878 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4722, allocations: 2.375 kB / 0.5879 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.4728, allocations: 119 kB / 0.588 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.4728, allocations: 3.406 kB / 0.588 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.4728, allocations: 8.469 kB / 0.588 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.4729, allocations: 7.406 kB / 0.588 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4729, allocations: 7.734 kB / 0.588 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.4738, allocations: 0.7134 MB / 0.5887 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4739, allocations: 139.4 kB / 0.5888 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.474, allocations: 20.08 kB / 0.5888 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.4744, allocations: 41.27 kB / 0.5889 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.4745, allocations: 36.22 kB / 0.5889 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.4745, allocations: 14.11 kB / 0.5889 GB, free: 18.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.4747, allocations: 149.4 kB / 0.5891 GB, free: 18.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4747, allocations: 3.938 kB / 0.5891 GB, free: 18.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007647/0.4754, allocations: 153.3 kB / 0.5892 GB, free: 18.74 MB / 446.1 MB 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.0002307/0.4757, allocations: 136 kB / 0.5893 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.4775, allocations: 0.9209 MB / 0.5902 GB, free: 18.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4775, allocations: 0 / 0.5902 GB, free: 18.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.478, allocations: 255.5 kB / 0.5905 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.4785, allocations: 53.42 kB / 0.5905 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4796, allocations: 0.6985 MB / 0.5912 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.4798, allocations: 0.7838 MB / 0.592 GB, free: 16.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005111/0.4803, allocations: 170.8 kB / 0.5922 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.4804, allocations: 31.42 kB / 0.5922 GB, free: 16.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4804, allocations: 0 / 0.5922 GB, free: 16.54 MB / 446.1 MB Notification: Performance of Templates: time 0.007453/0.4879, allocations: 5.218 MB / 0.5973 GB, free: 11.35 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)