Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 106.9 kB / 16.52 MB, free: 6.703 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.001158/0.001158, allocations: 200.7 kB / 17.44 MB, free: 6.066 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7002/0.7002, allocations: 115.3 MB / 406.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 493.6 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 76.17 MB / 0.5564 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006662/0.331, allocations: 6.729 MB / 0.563 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004832/0.3359, allocations: 3.042 MB / 0.5659 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.3364, allocations: 22 kB / 0.5659 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.3384, allocations: 0.8958 MB / 0.5668 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3394, allocations: 475.1 kB / 0.5673 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009773/0.3404, allocations: 387.4 kB / 0.5676 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3418, allocations: 1.586 MB / 0.5692 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009058/0.3428, allocations: 0.6471 MB / 0.5698 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005312/0.3433, allocations: 418.5 kB / 0.5702 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.3439, allocations: 0.5313 MB / 0.5707 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.674e-05/0.344, allocations: 46.88 kB / 0.5708 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008246/0.3449, allocations: 458.5 kB / 0.5712 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.3452, allocations: 286.9 kB / 0.5715 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.3456, allocations: 428.8 kB / 0.5719 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009343/0.3465, allocations: 0.9292 MB / 0.5728 GB, free: 26.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3465, allocations: 0 / 0.5728 GB, free: 26.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3465, allocations: 1.875 kB / 0.5728 GB, free: 26.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3465, allocations: 0 / 0.5728 GB, free: 26.06 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001908/0.3484, allocations: 1.16 MB / 0.5739 GB, free: 25.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3485, allocations: 17.16 kB / 0.574 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.3502, allocations: 240.4 kB / 0.5742 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000698/0.3509, allocations: 0.5378 MB / 0.5747 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.3509, allocations: 51.8 kB / 0.5748 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.351, allocations: 66.73 kB / 0.5748 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.3524, allocations: 1.09 MB / 0.5759 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.3524, allocations: 8.406 kB / 0.5759 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.3525, allocations: 33.81 kB / 0.5759 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/0.3527, allocations: 85.02 kB / 0.576 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3538, allocations: 0.7544 MB / 0.5768 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.358, allocations: 5.878 MB / 0.5825 GB, free: 18.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008758/0.3589, allocations: 0.5533 MB / 0.583 GB, free: 18.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.3593, allocations: 325.2 kB / 0.5833 GB, free: 18.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.3593, allocations: 5.406 kB / 0.5833 GB, free: 18.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.3593, allocations: 40.19 kB / 0.5834 GB, free: 18.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.3593, allocations: 0 / 0.5834 GB, free: 18.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003539/0.3629, allocations: 1.988 MB / 0.5853 GB, free: 17.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.3629, allocations: 57.62 kB / 0.5854 GB, free: 17.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.3635, allocations: 0.5533 MB / 0.5859 GB, free: 17.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3635, allocations: 36.23 kB / 0.586 GB, free: 17.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.3637, allocations: 422 kB / 0.5864 GB, free: 16.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.981e-05/0.3638, allocations: 170.7 kB / 0.5865 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.364, allocations: 125.1 kB / 0.5866 GB, free: 16.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.3641, allocations: 381.4 kB / 0.587 GB, free: 16.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.3645, allocations: 276 kB / 0.5873 GB, free: 16.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.365, allocations: 497.9 kB / 0.5877 GB, free: 15.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008589/0.3658, allocations: 0.8138 MB / 0.5885 GB, free: 15.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3659, allocations: 2.125 kB / 0.5885 GB, free: 15.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001691/0.3676, allocations: 1.084 MB / 0.5896 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3676, allocations: 7.828 kB / 0.5896 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3676, allocations: 11.47 kB / 0.5896 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008338/0.3684, allocations: 281.5 kB / 0.5899 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.3689, allocations: 131.8 kB / 0.59 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/0.3735, allocations: 6.586 MB / 0.5964 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.3741, allocations: 38.94 kB / 0.5965 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.3742, allocations: 27 kB / 0.5965 GB, free: 8.434 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003222/0.3745, allocations: 254.3 kB / 0.5967 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3746, allocations: 71.72 kB / 0.5968 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.3761, allocations: 0.8882 MB / 0.5977 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3761, allocations: 4.938 kB / 0.5977 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.3761, allocations: 3.438 kB / 0.5977 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3761, allocations: 9.203 kB / 0.5977 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.3785, allocations: 1.722 MB / 0.5994 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3785, allocations: 5.438 kB / 0.5994 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.3787, allocations: 60.77 kB / 0.5994 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007501/0.3795, allocations: 269.6 kB / 0.5997 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.3795, allocations: 11.38 kB / 0.5997 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/0.3842, allocations: 6.589 MB / 0.6061 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3842, allocations: 0 / 0.6061 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.3857, allocations: 0.9797 MB / 0.6071 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.386, allocations: 192.2 kB / 0.6073 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.3861, allocations: 19.92 kB / 0.6073 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.3865, allocations: 23.97 kB / 0.6073 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3866, allocations: 47.88 kB / 0.6074 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.3866, allocations: 12 kB / 0.6074 GB, free: 14.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004379/0.3871, allocations: 387.1 kB / 0.6078 GB, free: 13.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3871, allocations: 3.938 kB / 0.6078 GB, free: 13.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008895/0.388, allocations: 224 kB / 0.608 GB, free: 13.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001478/0.3881, allocations: 111.2 kB / 0.6081 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.39, allocations: 1.271 MB / 0.6093 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.39, allocations: 0 / 0.6093 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.3912, allocations: 0.8935 MB / 0.6102 GB, free: 11.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3922, allocations: 206.7 kB / 0.6104 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.3944, allocations: 1.708 MB / 0.6121 GB, free: 9.266 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.395, allocations: 1.009 MB / 0.613 GB, free: 8.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.3951, allocations: 43.44 kB / 0.6131 GB, free: 8.188 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3951, allocations: 4 kB / 0.6131 GB, free: 8.184 MB / 462.1 MB Notification: Performance of Templates: time 0.0211/0.4163, allocations: 20.62 MB / 0.6332 GB, free: 3.625 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)