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.0007602/0.0007603, allocations: 97.95 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008905/0.0008909, allocations: 180.2 kB / 16.92 MB, free: 6.922 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7295/0.7295, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004625, allocations: 9.5 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1845, allocations: 77.54 MB / 0.56 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004049/0.1886, allocations: 3.024 MB / 0.5629 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.1921, allocations: 2.128 MB / 0.565 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.1923, allocations: 7.938 kB / 0.565 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.1925, allocations: 39.7 kB / 0.565 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006694/0.1932, allocations: 223.1 kB / 0.5653 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000781/0.194, allocations: 263.4 kB / 0.5655 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.1946, allocations: 0.5297 MB / 0.566 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005206/0.1951, allocations: 337.1 kB / 0.5664 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1953, allocations: 131.4 kB / 0.5665 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.1957, allocations: 171.4 kB / 0.5666 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1957, allocations: 12 kB / 0.5667 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007581/0.1965, allocations: 0.4951 MB / 0.5671 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1966, allocations: 95.72 kB / 0.5672 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.1967, allocations: 149 kB / 0.5674 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005851/0.1973, allocations: 0.5218 MB / 0.5679 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1973, allocations: 0 / 0.5679 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1973, allocations: 0 / 0.5679 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1973, allocations: 0 / 0.5679 GB, free: 0.8672 MB / 430.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.0008779/0.1982, allocations: 0.569 MB / 0.5684 GB, free: 256 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1983, allocations: 8.031 kB / 0.5684 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000857/0.1991, allocations: 124.4 kB / 0.5686 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.1995, allocations: 267.8 kB / 0.5688 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.1995, allocations: 16.81 kB / 0.5688 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.1996, allocations: 20.38 kB / 0.5688 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.2002, allocations: 431.8 kB / 0.5693 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2003, allocations: 3.938 kB / 0.5693 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.2003, allocations: 8 kB / 0.5693 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/0.2004, allocations: 28.55 kB / 0.5693 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/0.201, allocations: 362 kB / 0.5696 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.2034, allocations: 2.058 MB / 0.5717 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/0.2042, allocations: 361 kB / 0.572 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.2046, allocations: 197.6 kB / 0.5722 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.2047, allocations: 97.05 kB / 0.5723 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2048, allocations: 34.56 kB / 0.5723 GB, free: 11.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.2048, allocations: 3.938 kB / 0.5723 GB, free: 11.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.005339/0.2101, allocations: 1.757 MB / 0.574 GB, free: 10.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2102, allocations: 85.05 kB / 0.5741 GB, free: 10.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.2104, allocations: 229 kB / 0.5743 GB, free: 9.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.2104, allocations: 33.7 kB / 0.5744 GB, free: 9.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2106, allocations: 184 kB / 0.5745 GB, free: 9.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.2107, allocations: 122.3 kB / 0.5747 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.2107, allocations: 37.7 kB / 0.5747 GB, free: 9.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2108, allocations: 338.8 kB / 0.575 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.2112, allocations: 200.8 kB / 0.5752 GB, free: 8.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.2117, allocations: 315.6 kB / 0.5755 GB, free: 8.562 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.2126, allocations: 0.527 MB / 0.576 GB, free: 7.992 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2126, allocations: 0 / 0.576 GB, free: 7.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00132/0.214, allocations: 0.6739 MB / 0.5767 GB, free: 7.301 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2141, allocations: 185.5 kB / 0.5769 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2141, allocations: 4 kB / 0.5769 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/0.2146, allocations: 147.3 kB / 0.577 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.2151, allocations: 95.88 kB / 0.5771 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.2178, allocations: 3.957 MB / 0.581 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.2182, allocations: 40 kB / 0.581 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.2182, allocations: 12 kB / 0.581 GB, free: 2.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.2182, allocations: 4 kB / 0.581 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001242/0.2195, allocations: 0.628 MB / 0.5816 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2195, allocations: 3.938 kB / 0.5816 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.2199, allocations: 147.5 kB / 0.5818 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.2203, allocations: 95.88 kB / 0.5819 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006065/0.2209, allocations: 1.113 MB / 0.5829 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.2212, allocations: 39.91 kB / 0.583 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.2213, allocations: 19.98 kB / 0.583 GB, free: 384 kB / 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.0002239/0.2215, allocations: 257 kB / 0.5832 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.2216, allocations: 27.72 kB / 0.5833 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2739/0.4955, allocations: 0.6183 MB / 0.5839 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4955, allocations: 4.719 kB / 0.5839 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4955, allocations: 1.719 kB / 0.5839 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.4956, allocations: 1.641 kB / 0.5839 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.4979, allocations: 1.345 MB / 0.5852 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.498, allocations: 2.844 kB / 0.5852 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.4982, allocations: 70.11 kB / 0.5853 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/0.4987, allocations: 152.9 kB / 0.5854 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.4987, allocations: 10.95 kB / 0.5854 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.501, allocations: 3.963 MB / 0.5893 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.501, allocations: 7.406 kB / 0.5893 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.5023, allocations: 0.7921 MB / 0.5901 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.5024, allocations: 140.3 kB / 0.5902 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.5025, allocations: 15.73 kB / 0.5902 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.5028, allocations: 36.69 kB / 0.5903 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.5029, allocations: 33.45 kB / 0.5903 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.5029, allocations: 14.5 kB / 0.5903 GB, free: 26.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.5031, allocations: 171 kB / 0.5905 GB, free: 26.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5031, allocations: 0.5 kB / 0.5905 GB, free: 26.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007737/0.5039, allocations: 162 kB / 0.5906 GB, free: 26.05 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.0002025/0.5041, allocations: 141.8 kB / 0.5908 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.5062, allocations: 1.199 MB / 0.5919 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5062, allocations: 0.875 kB / 0.5919 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000801/0.507, allocations: 496.3 kB / 0.5924 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.5077, allocations: 60.86 kB / 0.5925 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.5091, allocations: 0.8898 MB / 0.5933 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.5095, allocations: 0.8116 MB / 0.5941 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003985/0.5099, allocations: 112 kB / 0.5942 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.073e-05/0.51, allocations: 25.11 kB / 0.5943 GB, free: 23.83 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.51, allocations: 0.7188 kB / 0.5943 GB, free: 23.83 MB / 446.1 MB Notification: Performance of Templates: time 0.01249/0.5225, allocations: 5.647 MB / 0.5998 GB, free: 23.5 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)