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.001471/0.001471, allocations: 106.4 kB / 17.03 MB, free: 5.66 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.001677/0.001677, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7292/0.7292, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3503, allocations: 76.15 MB / 0.5576 GB, free: 36.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.0045/0.3549, allocations: 3.372 MB / 0.5609 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.3582, allocations: 2.161 MB / 0.563 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.3585, allocations: 9.219 kB / 0.563 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009317/0.3594, allocations: 287.9 kB / 0.5633 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.36, allocations: 239.5 kB / 0.5635 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008567/0.3609, allocations: 299.4 kB / 0.5638 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.3613, allocations: 391.3 kB / 0.5641 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.3617, allocations: 202.7 kB / 0.5643 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3619, allocations: 148.8 kB / 0.5645 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.3622, allocations: 178.8 kB / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.3623, allocations: 21.31 kB / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007792/0.3631, allocations: 428.8 kB / 0.5651 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3632, allocations: 102.3 kB / 0.5652 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.3633, allocations: 135.9 kB / 0.5653 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007128/0.3641, allocations: 0.5196 MB / 0.5658 GB, free: 31.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3641, allocations: 0 / 0.5658 GB, free: 31.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3641, allocations: 0 / 0.5658 GB, free: 31.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3641, allocations: 2.031 kB / 0.5658 GB, free: 31.79 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.0009093/0.365, allocations: 0.6059 MB / 0.5664 GB, free: 31.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3651, allocations: 10.41 kB / 0.5664 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008552/0.3659, allocations: 121 kB / 0.5665 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.3663, allocations: 285 kB / 0.5668 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3663, allocations: 17.34 kB / 0.5668 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.3664, allocations: 23.33 kB / 0.5668 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.367, allocations: 417.6 kB / 0.5672 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.367, allocations: 1.141 kB / 0.5672 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.367, allocations: 11.34 kB / 0.5673 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/0.3671, allocations: 36.48 kB / 0.5673 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.3677, allocations: 347.9 kB / 0.5676 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.37, allocations: 2.043 MB / 0.5696 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.3708, allocations: 357 kB / 0.57 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.3712, allocations: 188.1 kB / 0.5701 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.433e-05/0.3713, allocations: 92.83 kB / 0.5702 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.3713, allocations: 32.73 kB / 0.5703 GB, free: 28.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/0.3713, allocations: 2.5 kB / 0.5703 GB, free: 28.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004877/0.3762, allocations: 1.581 MB / 0.5718 GB, free: 28.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3762, allocations: 90 kB / 0.5719 GB, free: 27.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.3765, allocations: 228.9 kB / 0.5721 GB, free: 27.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.3766, allocations: 35.8 kB / 0.5721 GB, free: 27.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3767, allocations: 189.1 kB / 0.5723 GB, free: 27.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.3768, allocations: 116.9 kB / 0.5724 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.377, allocations: 83.45 kB / 0.5725 GB, free: 27.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3771, allocations: 338.3 kB / 0.5728 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.3775, allocations: 198.3 kB / 0.573 GB, free: 27.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.3779, allocations: 299.5 kB / 0.5733 GB, free: 26.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.3787, allocations: 0.5122 MB / 0.5738 GB, free: 26.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3788, allocations: 4.531 kB / 0.5738 GB, free: 26.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001254/0.38, allocations: 0.6472 MB / 0.5744 GB, free: 26.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.38, allocations: 6.203 kB / 0.5745 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3801, allocations: 6.219 kB / 0.5745 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/0.3806, allocations: 150.8 kB / 0.5746 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.381, allocations: 87.59 kB / 0.5747 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.3832, allocations: 4.179 MB / 0.5788 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.3836, allocations: 35.59 kB / 0.5788 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.3837, allocations: 17.14 kB / 0.5788 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005203/0.3842, allocations: 320.9 kB / 0.5791 GB, free: 22.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004165/0.3846, allocations: 304.9 kB / 0.5794 GB, free: 21.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007773/0.3854, allocations: 0.5011 MB / 0.5799 GB, free: 21.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.389e-06/0.3854, allocations: 1.406 kB / 0.5799 GB, free: 21.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001246/0.3867, allocations: 0.6524 MB / 0.5805 GB, free: 21.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3867, allocations: 7.75 kB / 0.5806 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3867, allocations: 3.562 kB / 0.5806 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004464/0.3872, allocations: 155.5 kB / 0.5807 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.3876, allocations: 87.03 kB / 0.5808 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.3899, allocations: 4.174 MB / 0.5849 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.3903, allocations: 32.19 kB / 0.5849 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.3904, allocations: 21.34 kB / 0.5849 GB, free: 17.29 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.0001612/0.3905, allocations: 208 kB / 0.5851 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.3906, allocations: 30.8 kB / 0.5851 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.3919, allocations: 0.6077 MB / 0.5857 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3919, allocations: 4.188 kB / 0.5857 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3919, allocations: 2.156 kB / 0.5857 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3919, allocations: 3.109 kB / 0.5857 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.3942, allocations: 1.318 MB / 0.587 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.3942, allocations: 3.219 kB / 0.587 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.3945, allocations: 59.38 kB / 0.5871 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.395, allocations: 153.5 kB / 0.5872 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.395, allocations: 12.72 kB / 0.5872 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.3974, allocations: 4.194 MB / 0.5913 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3974, allocations: 2.781 kB / 0.5913 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3985, allocations: 0.7678 MB / 0.5921 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.3987, allocations: 144.3 kB / 0.5922 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.3988, allocations: 10.31 kB / 0.5922 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.3991, allocations: 32.58 kB / 0.5923 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3992, allocations: 32.62 kB / 0.5923 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.3993, allocations: 17.53 kB / 0.5923 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.3995, allocations: 167.2 kB / 0.5925 GB, free: 11.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3995, allocations: 1.219 kB / 0.5925 GB, free: 11.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009489/0.4004, allocations: 165.3 kB / 0.5926 GB, free: 11.13 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.0002286/0.4007, allocations: 142.5 kB / 0.5928 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.4027, allocations: 1.247 MB / 0.594 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4027, allocations: 0 / 0.594 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.4034, allocations: 485.8 kB / 0.5945 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.404, allocations: 75.7 kB / 0.5945 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.4053, allocations: 0.7384 MB / 0.5953 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.4056, allocations: 0.8133 MB / 0.596 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003402/0.4059, allocations: 111.3 kB / 0.5962 GB, free: 8.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.406, allocations: 27.98 kB / 0.5962 GB, free: 8.793 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.406, allocations: 0 / 0.5962 GB, free: 8.793 MB / 446.1 MB Notification: Performance of Templates: time 0.01018/0.4162, allocations: 6.323 MB / 0.6024 GB, free: 4.766 MB / 446.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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)