Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 109.2 kB / 17.02 MB, free: 6.121 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.001311/0.001311, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7548/0.7548, allocations: 115.1 MB / 406.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3537, allocations: 76.13 MB / 0.5576 GB, free: 36.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004847/0.3586, allocations: 3.331 MB / 0.5608 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.3619, allocations: 2.158 MB / 0.5629 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.3621, allocations: 5.156 kB / 0.5629 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009023/0.3631, allocations: 294.4 kB / 0.5632 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.3636, allocations: 241.4 kB / 0.5634 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.3644, allocations: 296.5 kB / 0.5637 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.3649, allocations: 390.1 kB / 0.5641 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.3653, allocations: 196.3 kB / 0.5643 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.3655, allocations: 154.8 kB / 0.5644 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.3659, allocations: 176 kB / 0.5646 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.3659, allocations: 22.16 kB / 0.5646 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007347/0.3667, allocations: 431.5 kB / 0.565 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3668, allocations: 98.95 kB / 0.5651 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.367, allocations: 138.7 kB / 0.5653 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007182/0.3677, allocations: 0.5158 MB / 0.5658 GB, free: 31.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3677, allocations: 1.062 kB / 0.5658 GB, free: 31.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3677, allocations: 2.266 kB / 0.5658 GB, free: 31.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3677, allocations: 0 / 0.5658 GB, free: 31.92 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008945/0.3686, allocations: 0.6056 MB / 0.5664 GB, free: 31.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3687, allocations: 9.312 kB / 0.5664 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008462/0.3695, allocations: 121.9 kB / 0.5665 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.3699, allocations: 289.6 kB / 0.5668 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.3699, allocations: 18.27 kB / 0.5668 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.37, allocations: 17.34 kB / 0.5668 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.3707, allocations: 422.9 kB / 0.5672 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3707, allocations: 1.094 kB / 0.5672 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.3707, allocations: 11.86 kB / 0.5672 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/0.3708, allocations: 34.02 kB / 0.5672 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.3714, allocations: 347.5 kB / 0.5676 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.3739, allocations: 2.048 MB / 0.5696 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008077/0.3747, allocations: 356.1 kB / 0.5699 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.3751, allocations: 195.1 kB / 0.5701 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.589e-05/0.3752, allocations: 86.55 kB / 0.5702 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3753, allocations: 34.12 kB / 0.5702 GB, free: 28.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3753, allocations: 0 / 0.5702 GB, free: 28.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004896/0.3802, allocations: 1.586 MB / 0.5718 GB, free: 28.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3802, allocations: 85.34 kB / 0.5718 GB, free: 28.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.3805, allocations: 234.6 kB / 0.5721 GB, free: 27.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.3805, allocations: 34.73 kB / 0.5721 GB, free: 27.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.3806, allocations: 181.7 kB / 0.5723 GB, free: 27.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.3807, allocations: 120.4 kB / 0.5724 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.3808, allocations: 83.03 kB / 0.5725 GB, free: 27.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.3809, allocations: 336.7 kB / 0.5728 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.3812, allocations: 202.2 kB / 0.573 GB, free: 27.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.3817, allocations: 305.7 kB / 0.5733 GB, free: 27.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007529/0.3824, allocations: 0.5105 MB / 0.5738 GB, free: 26.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3824, allocations: 1.438 kB / 0.5738 GB, free: 26.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001254/0.3837, allocations: 0.6507 MB / 0.5744 GB, free: 26.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3837, allocations: 11.75 kB / 0.5744 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3837, allocations: 6.688 kB / 0.5744 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.3843, allocations: 145.2 kB / 0.5746 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.3847, allocations: 92.77 kB / 0.5747 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.3869, allocations: 4.171 MB / 0.5787 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.3872, allocations: 30.17 kB / 0.5788 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3873, allocations: 17.83 kB / 0.5788 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004708/0.3877, allocations: 319.4 kB / 0.5791 GB, free: 22.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004022/0.3881, allocations: 302.8 kB / 0.5794 GB, free: 22.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007321/0.3889, allocations: 0.5061 MB / 0.5799 GB, free: 21.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.3889, allocations: 1.094 kB / 0.5799 GB, free: 21.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001174/0.3901, allocations: 0.6563 MB / 0.5805 GB, free: 21.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3901, allocations: 7.156 kB / 0.5805 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3901, allocations: 3.625 kB / 0.5805 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004012/0.3905, allocations: 143.8 kB / 0.5807 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.3909, allocations: 95.47 kB / 0.5807 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.3929, allocations: 4.177 MB / 0.5848 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.3933, allocations: 31.45 kB / 0.5849 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.3933, allocations: 17.67 kB / 0.5849 GB, free: 17.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.3935, allocations: 204.4 kB / 0.5851 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.3936, allocations: 28.88 kB / 0.5851 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.3948, allocations: 0.6082 MB / 0.5857 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3948, allocations: 5.016 kB / 0.5857 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3948, allocations: 5.219 kB / 0.5857 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3949, allocations: 6.828 kB / 0.5857 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.3969, allocations: 1.314 MB / 0.587 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3969, allocations: 2.844 kB / 0.587 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.3972, allocations: 66.94 kB / 0.5871 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000388/0.3976, allocations: 154.7 kB / 0.5872 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.3976, allocations: 8.312 kB / 0.5872 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.3997, allocations: 4.187 MB / 0.5913 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3997, allocations: 6.156 kB / 0.5913 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.4008, allocations: 0.7791 MB / 0.5921 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.4009, allocations: 136.2 kB / 0.5922 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.401, allocations: 10.09 kB / 0.5922 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.4013, allocations: 28.38 kB / 0.5922 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.4014, allocations: 39.83 kB / 0.5923 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.4014, allocations: 14.5 kB / 0.5923 GB, free: 11.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.4016, allocations: 171.5 kB / 0.5924 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4016, allocations: 0 / 0.5924 GB, free: 11.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008455/0.4024, allocations: 165.9 kB / 0.5926 GB, free: 11.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002028/0.4026, allocations: 138.8 kB / 0.5927 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.4049, allocations: 1.245 MB / 0.5939 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.405, allocations: 0 / 0.5939 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007868/0.4057, allocations: 492.7 kB / 0.5944 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.4064, allocations: 61.78 kB / 0.5945 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.408, allocations: 0.7418 MB / 0.5952 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.4083, allocations: 0.8116 MB / 0.596 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.4087, allocations: 122.5 kB / 0.5961 GB, free: 8.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.4088, allocations: 25.38 kB / 0.5961 GB, free: 8.898 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4088, allocations: 0 / 0.5961 GB, free: 8.898 MB / 446.1 MB Notification: Performance of Templates: time 0.009868/0.4187, allocations: 6.323 MB / 0.6023 GB, free: 4.965 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)