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.001274/0.001274, allocations: 104 kB / 16.52 MB, free: 6.27 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.001309/0.001309, allocations: 193.6 kB / 17.44 MB, free: 5.887 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7456/0.7456, allocations: 115.3 MB / 406.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.89 kB / 493.6 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3765, allocations: 76.16 MB / 0.5564 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004225/0.3807, allocations: 3.381 MB / 0.5597 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.3835, allocations: 2.187 MB / 0.5618 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.3837, allocations: 8.062 kB / 0.5618 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008156/0.3845, allocations: 265.1 kB / 0.5621 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.385, allocations: 227.3 kB / 0.5623 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.3856, allocations: 255.6 kB / 0.5625 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.3861, allocations: 0.5266 MB / 0.5631 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.3865, allocations: 170.8 kB / 0.5632 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.3866, allocations: 137.5 kB / 0.5633 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.3869, allocations: 183.1 kB / 0.5635 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.387, allocations: 14.31 kB / 0.5635 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008007/0.3878, allocations: 0.5046 MB / 0.564 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3879, allocations: 96.75 kB / 0.5641 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.3881, allocations: 126.9 kB / 0.5642 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.3886, allocations: 402.2 kB / 0.5646 GB, free: 31.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3886, allocations: 0.75 kB / 0.5646 GB, free: 31.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.3886, allocations: 0.5625 kB / 0.5646 GB, free: 31.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3886, allocations: 1.656 kB / 0.5646 GB, free: 31.46 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.000865/0.3895, allocations: 0.6059 MB / 0.5652 GB, free: 30.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3895, allocations: 12.72 kB / 0.5652 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008218/0.3904, allocations: 121.4 kB / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.3906, allocations: 271.9 kB / 0.5656 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3907, allocations: 19.33 kB / 0.5656 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.3907, allocations: 23.95 kB / 0.5656 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.3913, allocations: 420.2 kB / 0.566 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3914, allocations: 1.781 kB / 0.5661 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3914, allocations: 8.719 kB / 0.5661 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.3915, allocations: 33.98 kB / 0.5661 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.3921, allocations: 348.1 kB / 0.5664 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.3942, allocations: 2.044 MB / 0.5684 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.395, allocations: 356.3 kB / 0.5688 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.3954, allocations: 189.6 kB / 0.5689 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.174e-05/0.3955, allocations: 90.94 kB / 0.569 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3955, allocations: 34.75 kB / 0.5691 GB, free: 28.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3955, allocations: 0.9688 kB / 0.5691 GB, free: 28.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004879/0.4004, allocations: 1.578 MB / 0.5706 GB, free: 27.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.4004, allocations: 85.55 kB / 0.5707 GB, free: 27.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.4007, allocations: 228.9 kB / 0.5709 GB, free: 27.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.4007, allocations: 32.14 kB / 0.5709 GB, free: 27.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.4008, allocations: 185.1 kB / 0.5711 GB, free: 27.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.4009, allocations: 117.6 kB / 0.5712 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.401, allocations: 82.2 kB / 0.5713 GB, free: 27.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.4011, allocations: 338.3 kB / 0.5716 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.4014, allocations: 202.5 kB / 0.5718 GB, free: 26.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.4019, allocations: 304.1 kB / 0.5721 GB, free: 26.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.4027, allocations: 0.5124 MB / 0.5726 GB, free: 26.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4027, allocations: 5.25 kB / 0.5726 GB, free: 26.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001169/0.4039, allocations: 0.6546 MB / 0.5733 GB, free: 26.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4039, allocations: 12.92 kB / 0.5733 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4039, allocations: 6.281 kB / 0.5733 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.4044, allocations: 144.2 kB / 0.5734 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.4048, allocations: 88.33 kB / 0.5735 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.4069, allocations: 3.943 MB / 0.5773 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.4072, allocations: 43.47 kB / 0.5774 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.4072, allocations: 18.3 kB / 0.5774 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004742/0.4077, allocations: 319.3 kB / 0.5777 GB, free: 22.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004324/0.4082, allocations: 302.3 kB / 0.578 GB, free: 21.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007416/0.4089, allocations: 0.5139 MB / 0.5785 GB, free: 21.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.4089, allocations: 5.344 kB / 0.5785 GB, free: 21.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001178/0.4101, allocations: 0.6434 MB / 0.5791 GB, free: 21.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.4101, allocations: 6.969 kB / 0.5791 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4101, allocations: 3.531 kB / 0.5791 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.4105, allocations: 156.4 kB / 0.5793 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.4109, allocations: 91.67 kB / 0.5794 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.4129, allocations: 3.942 MB / 0.5832 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.4132, allocations: 39.34 kB / 0.5833 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.4133, allocations: 13.89 kB / 0.5833 GB, free: 17.38 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.0001165/0.4134, allocations: 208.5 kB / 0.5835 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.4135, allocations: 26 kB / 0.5835 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.4147, allocations: 0.616 MB / 0.5841 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.4147, allocations: 4 kB / 0.5841 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4147, allocations: 1.344 kB / 0.5841 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.4147, allocations: 6.156 kB / 0.5841 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.4169, allocations: 1.314 MB / 0.5854 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.4169, allocations: 10.53 kB / 0.5854 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.4172, allocations: 63.75 kB / 0.5855 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/0.4176, allocations: 152.3 kB / 0.5856 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.4176, allocations: 9.312 kB / 0.5856 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.4197, allocations: 3.964 MB / 0.5895 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4197, allocations: 2.25 kB / 0.5895 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4209, allocations: 0.7735 MB / 0.5902 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.421, allocations: 136.9 kB / 0.5904 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.4211, allocations: 9.844 kB / 0.5904 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.4214, allocations: 29.77 kB / 0.5904 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.4215, allocations: 36.03 kB / 0.5904 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.4215, allocations: 17.19 kB / 0.5905 GB, free: 11.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.4217, allocations: 168.5 kB / 0.5906 GB, free: 11.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4217, allocations: 0 / 0.5906 GB, free: 11.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007925/0.4225, allocations: 166.5 kB / 0.5908 GB, free: 11.43 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.000211/0.4227, allocations: 137.3 kB / 0.5909 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.4248, allocations: 1.231 MB / 0.5921 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4248, allocations: 1.25 kB / 0.5921 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.4255, allocations: 484.9 kB / 0.5926 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.426, allocations: 62.72 kB / 0.5926 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.4274, allocations: 0.9366 MB / 0.5936 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.4277, allocations: 0.8082 MB / 0.5943 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4278, allocations: 31.61 kB / 0.5944 GB, free: 8.945 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4278, allocations: 0 / 0.5944 GB, free: 8.945 MB / 446.1 MB Notification: Performance of Templates: time 0.01131/0.4391, allocations: 9.074 MB / 0.6032 GB, free: 2.762 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)