Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001204/0.001204, allocations: 173.1 kB / 371.8 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.844/1.844, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001279/0.001279, allocations: 102.6 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006029/0.000603, allocations: 10.94 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3425, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.00436/0.3469, allocations: 2.894 MB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.3501, allocations: 2.005 MB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.3503, allocations: 0 / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.3505, allocations: 43.66 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.3511, allocations: 155.5 kB / 0.9844 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.3518, allocations: 215.4 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.3522, allocations: 223.6 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.3527, allocations: 325.3 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3529, allocations: 111.6 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.3532, allocations: 123.5 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.3532, allocations: 12 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.3537, allocations: 247.6 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.68e-05/0.3538, allocations: 79.78 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.3539, allocations: 77.52 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.3544, allocations: 367.1 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.3544, allocations: 0 / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3544, allocations: 0 / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3544, allocations: 0 / 0.9861 GB, free: 20.8 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009296/0.3554, allocations: 0.5728 MB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3554, allocations: 12.02 kB / 0.9867 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.3566, allocations: 131.4 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.357, allocations: 266.6 kB / 0.9871 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.3571, allocations: 12.44 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.3571, allocations: 31.98 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.3579, allocations: 407.5 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.358, allocations: 4 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.358, allocations: 15.98 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-05/0.3581, allocations: 32.55 kB / 0.9875 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007719/0.3589, allocations: 349.9 kB / 0.9879 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.3614, allocations: 2.058 MB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009068/0.3623, allocations: 356.4 kB / 0.9902 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.3625, allocations: 89.28 kB / 0.9903 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.3625, allocations: 46.69 kB / 0.9903 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.595e-06/0.3625, allocations: 0 / 0.9903 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.00387/0.3664, allocations: 1.27 MB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3664, allocations: 81.34 kB / 0.9917 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3667, allocations: 240.8 kB / 0.9919 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3667, allocations: 33.73 kB / 0.9919 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.3668, allocations: 176.1 kB / 0.9921 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/0.3669, allocations: 110.5 kB / 0.9922 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.367, allocations: 4 kB / 0.9922 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.367, allocations: 330.8 kB / 0.9925 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.3675, allocations: 175.8 kB / 0.9927 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.368, allocations: 279.8 kB / 0.993 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.3684, allocations: 199.9 kB / 0.9931 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3685, allocations: 0 / 0.9931 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001296/0.3698, allocations: 0.5651 MB / 0.9937 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.37, allocations: 1.146 MB / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.37, allocations: 0 / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003963/0.3704, allocations: 73.61 kB / 0.9949 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.371, allocations: 99.88 kB / 0.995 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.3724, allocations: 1.969 MB / 0.9969 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.3728, allocations: 35.88 kB / 0.9969 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3728, allocations: 16 kB / 0.997 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.3728, allocations: 4 kB / 0.997 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001223/0.3741, allocations: 0.5014 MB / 0.9974 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3741, allocations: 4 kB / 0.9975 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.3743, allocations: 77.83 kB / 0.9975 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.3748, allocations: 91.88 kB / 0.9976 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002607/0.3751, allocations: 0.5445 MB / 0.9981 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.3755, allocations: 40.06 kB / 0.9982 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.3755, allocations: 16 kB / 0.9982 GB, free: 7.625 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.3757, allocations: 241 kB / 0.9984 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3758, allocations: 23.72 kB / 0.9984 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3771, allocations: 0.4905 MB / 0.9989 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3771, allocations: 7.953 kB / 0.9989 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3771, allocations: 0 / 0.9989 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.3772, allocations: 3.984 kB / 0.9989 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.3793, allocations: 1.039 MB / 1 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3794, allocations: 3.984 kB / 1 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.3797, allocations: 68.11 kB / 1 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002958/0.38, allocations: 81.66 kB / 1 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.38, allocations: 11.94 kB / 1 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.3814, allocations: 1.973 MB / 1.002 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.3815, allocations: 7.984 kB / 1.002 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.3827, allocations: 0.7697 MB / 1.003 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.3829, allocations: 132.8 kB / 1.003 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.3829, allocations: 7.953 kB / 1.003 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.3833, allocations: 31.97 kB / 1.003 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3835, allocations: 19.97 kB / 1.003 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.3835, allocations: 16 kB / 1.003 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001915/0.3837, allocations: 172.5 kB / 1.003 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.3837, allocations: 0 / 1.003 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001033/0.3848, allocations: 128 kB / 1.003 GB, free: 2.031 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/0.385, allocations: 119.1 kB / 1.003 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.3871, allocations: 0.8536 MB / 1.004 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3871, allocations: 320 / 1.004 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006417/0.3877, allocations: 322.4 kB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.3883, allocations: 56.23 kB / 1.005 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3897, allocations: 0.7755 MB / 1.005 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.3902, allocations: 0.7963 MB / 1.006 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005094/0.3907, allocations: 118.9 kB / 1.006 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3908, allocations: 23.44 kB / 1.006 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.3908, allocations: 4 kB / 1.006 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.01078/0.4016, allocations: 3.92 MB / 1.01 GB, free: 10.98 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)