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.001448/0.001448, allocations: 103.4 kB / 15.98 MB, free: 6.348 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.00152/0.00152, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.33/1.33, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7469/0.7469, allocations: 122.9 MB / 413.6 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.89 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3582, allocations: 77.91 MB / 0.5667 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004352/0.3626, allocations: 3.383 MB / 0.57 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.3654, allocations: 2.146 MB / 0.5721 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.3656, allocations: 8.906 kB / 0.5721 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008515/0.3665, allocations: 271.5 kB / 0.5724 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.3669, allocations: 217.5 kB / 0.5726 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.3676, allocations: 270.8 kB / 0.5728 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.368, allocations: 397.2 kB / 0.5732 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.3684, allocations: 226 kB / 0.5734 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.3686, allocations: 152.8 kB / 0.5736 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3689, allocations: 183.9 kB / 0.5737 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.369, allocations: 22.47 kB / 0.5738 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.3696, allocations: 433.8 kB / 0.5742 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3697, allocations: 97.33 kB / 0.5743 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.3698, allocations: 139.8 kB / 0.5744 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006845/0.3705, allocations: 0.5368 MB / 0.5749 GB, free: 27.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3705, allocations: 5.875 kB / 0.5749 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3706, allocations: 0 / 0.5749 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3706, allocations: 0 / 0.5749 GB, free: 27.84 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.0008893/0.3715, allocations: 0.6021 MB / 0.5755 GB, free: 27.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3715, allocations: 10.12 kB / 0.5755 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008728/0.3724, allocations: 121.9 kB / 0.5756 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.3727, allocations: 271.7 kB / 0.5759 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.3727, allocations: 22.42 kB / 0.5759 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.3728, allocations: 22.92 kB / 0.5759 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.3734, allocations: 421.6 kB / 0.5764 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3734, allocations: 0.5 kB / 0.5764 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.3735, allocations: 13.8 kB / 0.5764 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-05/0.3735, allocations: 34.33 kB / 0.5764 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.3742, allocations: 347.9 kB / 0.5767 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.3763, allocations: 2.04 MB / 0.5787 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/0.3771, allocations: 359.5 kB / 0.5791 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/0.3775, allocations: 185.5 kB / 0.5792 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.294e-05/0.3776, allocations: 92.66 kB / 0.5793 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.3776, allocations: 37.95 kB / 0.5794 GB, free: 24.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.3776, allocations: 1.656 kB / 0.5794 GB, free: 24.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004855/0.3825, allocations: 1.58 MB / 0.5809 GB, free: 23.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.3825, allocations: 86.92 kB / 0.581 GB, free: 23.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.3827, allocations: 234 kB / 0.5812 GB, free: 23.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.3828, allocations: 32.02 kB / 0.5812 GB, free: 23.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3828, allocations: 178.7 kB / 0.5814 GB, free: 23.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.3829, allocations: 117.4 kB / 0.5815 GB, free: 23.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.383, allocations: 83.31 kB / 0.5816 GB, free: 23.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.3831, allocations: 339.3 kB / 0.5819 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.3835, allocations: 200.8 kB / 0.5821 GB, free: 22.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.3839, allocations: 307.7 kB / 0.5824 GB, free: 22.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007365/0.3846, allocations: 0.5089 MB / 0.5829 GB, free: 22.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3846, allocations: 0 / 0.5829 GB, free: 22.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001128/0.3858, allocations: 0.6551 MB / 0.5836 GB, free: 22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3858, allocations: 9.594 kB / 0.5836 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3858, allocations: 2.844 kB / 0.5836 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/0.3863, allocations: 159.7 kB / 0.5837 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.3867, allocations: 87.66 kB / 0.5838 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.3888, allocations: 4.171 MB / 0.5879 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.3892, allocations: 37.33 kB / 0.5879 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3892, allocations: 20.39 kB / 0.5879 GB, free: 17.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004567/0.3897, allocations: 317.2 kB / 0.5882 GB, free: 17.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003836/0.3901, allocations: 300.4 kB / 0.5885 GB, free: 17.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007382/0.3908, allocations: 0.5027 MB / 0.589 GB, free: 16.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.3909, allocations: 1.344 kB / 0.589 GB, free: 16.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001139/0.392, allocations: 0.6572 MB / 0.5897 GB, free: 16.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.392, allocations: 8 kB / 0.5897 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.392, allocations: 3.75 kB / 0.5897 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.3924, allocations: 148.6 kB / 0.5898 GB, free: 16.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.3928, allocations: 91.44 kB / 0.5899 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.3948, allocations: 4.171 MB / 0.594 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.3952, allocations: 33.84 kB / 0.594 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.3952, allocations: 24.73 kB / 0.594 GB, free: 12.27 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.000129/0.3954, allocations: 210.9 kB / 0.5942 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.3954, allocations: 26.12 kB / 0.5942 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.3966, allocations: 0.597 MB / 0.5948 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3966, allocations: 4.312 kB / 0.5948 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3966, allocations: 1.062 kB / 0.5948 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3966, allocations: 4.953 kB / 0.5948 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.3986, allocations: 1.325 MB / 0.5961 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3987, allocations: 3.062 kB / 0.5961 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.3989, allocations: 62.8 kB / 0.5962 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003739/0.3993, allocations: 157.9 kB / 0.5963 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.3993, allocations: 8.75 kB / 0.5964 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.4013, allocations: 4.198 MB / 0.6005 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4013, allocations: 1.969 kB / 0.6005 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4024, allocations: 0.7733 MB / 0.6012 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.4025, allocations: 145.1 kB / 0.6014 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.4025, allocations: 8 kB / 0.6014 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.4029, allocations: 35.95 kB / 0.6014 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.403, allocations: 27.91 kB / 0.6014 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.403, allocations: 19.94 kB / 0.6014 GB, free: 5.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.4031, allocations: 168.5 kB / 0.6016 GB, free: 5.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4031, allocations: 0 / 0.6016 GB, free: 5.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007987/0.4039, allocations: 168 kB / 0.6018 GB, free: 5.246 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.0001871/0.4041, allocations: 139.2 kB / 0.6019 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.4059, allocations: 1.281 MB / 0.6031 GB, free: 3.766 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4059, allocations: 0 / 0.6031 GB, free: 3.766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005922/0.4065, allocations: 478.7 kB / 0.6036 GB, free: 3.273 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.4071, allocations: 67.83 kB / 0.6037 GB, free: 3.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4081, allocations: 0.8753 MB / 0.6045 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.4084, allocations: 0.8122 MB / 0.6053 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.4087, allocations: 114.9 kB / 0.6054 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.4088, allocations: 27.44 kB / 0.6054 GB, free: 1.301 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4088, allocations: 0 / 0.6054 GB, free: 1.301 MB / 446.1 MB Notification: Performance of Templates: time 0.01034/0.4191, allocations: 6.26 MB / 0.6116 GB, free: 11.09 MB / 462.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)