Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.001757/0.001757, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8733/0.8733, allocations: 122.9 MB / 413.6 MB, free: 48 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.89 kB / 0.4906 GB, free: 7.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4062, allocations: 77.91 MB / 0.5667 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.00576/0.4121, allocations: 3.422 MB / 0.57 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.4155, allocations: 2.157 MB / 0.5721 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.4157, allocations: 4.406 kB / 0.5721 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009358/0.4167, allocations: 275.7 kB / 0.5724 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.4172, allocations: 217 kB / 0.5726 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008476/0.4181, allocations: 266.5 kB / 0.5729 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.4186, allocations: 395.3 kB / 0.5732 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.419, allocations: 228.7 kB / 0.5735 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.4193, allocations: 154.4 kB / 0.5736 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.4196, allocations: 186 kB / 0.5738 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.4197, allocations: 21.97 kB / 0.5738 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007597/0.4204, allocations: 432.5 kB / 0.5742 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.4206, allocations: 101.5 kB / 0.5743 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.4207, allocations: 131.9 kB / 0.5744 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007605/0.4215, allocations: 0.5387 MB / 0.575 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4215, allocations: 0 / 0.575 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4215, allocations: 1.312 kB / 0.575 GB, free: 27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4215, allocations: 0.5 kB / 0.575 GB, free: 27 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.000969/0.4225, allocations: 0.6058 MB / 0.5756 GB, free: 26.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4225, allocations: 10.06 kB / 0.5756 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008874/0.4234, allocations: 121.7 kB / 0.5757 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.4238, allocations: 276.5 kB / 0.576 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.4238, allocations: 14.25 kB / 0.576 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.4239, allocations: 22.5 kB / 0.576 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.4246, allocations: 418.5 kB / 0.5764 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4246, allocations: 0.5312 kB / 0.5764 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.4246, allocations: 11.28 kB / 0.5764 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/0.4247, allocations: 35.73 kB / 0.5764 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006505/0.4253, allocations: 345.6 kB / 0.5768 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.4275, allocations: 2.051 MB / 0.5788 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.4283, allocations: 356.2 kB / 0.5791 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004163/0.4287, allocations: 190.5 kB / 0.5793 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.4289, allocations: 91.58 kB / 0.5794 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.4289, allocations: 38.22 kB / 0.5794 GB, free: 23.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.4289, allocations: 0.9062 kB / 0.5794 GB, free: 23.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.005026/0.4339, allocations: 1.572 MB / 0.5809 GB, free: 23.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.434, allocations: 86.45 kB / 0.581 GB, free: 23.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.4342, allocations: 236.3 kB / 0.5813 GB, free: 23.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4342, allocations: 36.14 kB / 0.5813 GB, free: 23.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.4343, allocations: 182.4 kB / 0.5815 GB, free: 22.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.05e-05/0.4344, allocations: 119.6 kB / 0.5816 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4345, allocations: 80.88 kB / 0.5817 GB, free: 22.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.4346, allocations: 336 kB / 0.582 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.435, allocations: 200.9 kB / 0.5822 GB, free: 22.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.4354, allocations: 298.4 kB / 0.5825 GB, free: 22.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.4362, allocations: 0.5098 MB / 0.5829 GB, free: 21.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4362, allocations: 1.438 kB / 0.583 GB, free: 21.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001171/0.4374, allocations: 0.663 MB / 0.5836 GB, free: 21.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4374, allocations: 9.656 kB / 0.5836 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4374, allocations: 2.312 kB / 0.5836 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005206/0.438, allocations: 148 kB / 0.5838 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.4384, allocations: 93.56 kB / 0.5838 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.4407, allocations: 4.176 MB / 0.5879 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.441, allocations: 37.39 kB / 0.588 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.4411, allocations: 16.53 kB / 0.588 GB, free: 17.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005001/0.4416, allocations: 320.4 kB / 0.5883 GB, free: 16.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004604/0.4421, allocations: 305 kB / 0.5886 GB, free: 16.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007719/0.4428, allocations: 0.5077 MB / 0.5891 GB, free: 16.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.4428, allocations: 0 / 0.5891 GB, free: 16.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001216/0.4441, allocations: 0.6455 MB / 0.5897 GB, free: 16.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4441, allocations: 6.438 kB / 0.5897 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4441, allocations: 3.562 kB / 0.5897 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.4445, allocations: 144.5 kB / 0.5898 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.4449, allocations: 96.39 kB / 0.5899 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.4469, allocations: 4.174 MB / 0.594 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.4473, allocations: 36.84 kB / 0.594 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.4473, allocations: 26.17 kB / 0.5941 GB, free: 11.75 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.0001537/0.4475, allocations: 199.2 kB / 0.5943 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.4475, allocations: 33.72 kB / 0.5943 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.4487, allocations: 0.6015 MB / 0.5949 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4487, allocations: 4.156 kB / 0.5949 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4487, allocations: 1.688 kB / 0.5949 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4487, allocations: 3.984 kB / 0.5949 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.4508, allocations: 1.329 MB / 0.5962 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.4508, allocations: 6.656 kB / 0.5962 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.4511, allocations: 63.77 kB / 0.5962 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003929/0.4515, allocations: 148.7 kB / 0.5964 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.4516, allocations: 9.531 kB / 0.5964 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.4539, allocations: 4.206 MB / 0.6005 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4539, allocations: 1.562 kB / 0.6005 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.455, allocations: 0.7659 MB / 0.6013 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.4551, allocations: 141.8 kB / 0.6014 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.4552, allocations: 12.97 kB / 0.6014 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.4555, allocations: 35.86 kB / 0.6014 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.4556, allocations: 26 kB / 0.6015 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.4557, allocations: 18.31 kB / 0.6015 GB, free: 5.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.4558, allocations: 167.2 kB / 0.6016 GB, free: 4.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4558, allocations: 4 kB / 0.6016 GB, free: 4.988 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008626/0.4567, allocations: 168.3 kB / 0.6018 GB, free: 4.961 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.0002611/0.4569, allocations: 130.2 kB / 0.6019 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.459, allocations: 1.281 MB / 0.6032 GB, free: 3.699 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.459, allocations: 0 / 0.6032 GB, free: 3.699 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006386/0.4596, allocations: 486.8 kB / 0.6036 GB, free: 3.199 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.4602, allocations: 61.55 kB / 0.6037 GB, free: 3.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.4614, allocations: 0.8785 MB / 0.6046 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.4616, allocations: 0.82 MB / 0.6054 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000325/0.462, allocations: 118.8 kB / 0.6055 GB, free: 1.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.462, allocations: 23.44 kB / 0.6055 GB, free: 1.227 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4621, allocations: 0 / 0.6055 GB, free: 1.227 MB / 446.1 MB Notification: Performance of Templates: time 0.01156/0.4736, allocations: 6.263 MB / 0.6116 GB, free: 11.04 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)