Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001547/0.001547, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.42/1.42, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8113/0.8113, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.89 kB / 0.4948 GB, free: 4.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.355, allocations: 78.56 MB / 0.5715 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.007143/0.3622, allocations: 6.267 MB / 0.5776 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006/0.3683, allocations: 4.539 MB / 0.5821 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006005/0.3689, allocations: 24.34 kB / 0.5821 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.3711, allocations: 0.9088 MB / 0.583 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.3731, allocations: 0.7745 MB / 0.5837 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007557/0.3739, allocations: 326.5 kB / 0.584 GB, free: 22.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.3751, allocations: 1.128 MB / 0.5851 GB, free: 21.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007787/0.3759, allocations: 0.6908 MB / 0.5858 GB, free: 21.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.3764, allocations: 474.3 kB / 0.5863 GB, free: 21.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.377, allocations: 497.1 kB / 0.5867 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3771, allocations: 73.88 kB / 0.5868 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005387/0.3776, allocations: 277.6 kB / 0.5871 GB, free: 20.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.3778, allocations: 250.4 kB / 0.5873 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.3782, allocations: 409.5 kB / 0.5877 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008686/0.379, allocations: 1.062 MB / 0.5888 GB, free: 19.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3791, allocations: 0 / 0.5888 GB, free: 19.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3791, allocations: 0 / 0.5888 GB, free: 19.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.3791, allocations: 2.312 kB / 0.5888 GB, free: 19.73 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001564/0.3807, allocations: 1.102 MB / 0.5898 GB, free: 18.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3807, allocations: 8.812 kB / 0.5898 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.3838, allocations: 0.63 MB / 0.5905 GB, free: 18.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.3846, allocations: 0.5336 MB / 0.591 GB, free: 18.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.3846, allocations: 39.34 kB / 0.591 GB, free: 18.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.65e-05/0.3847, allocations: 62.89 kB / 0.5911 GB, free: 18.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.3865, allocations: 1.018 MB / 0.5921 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3865, allocations: 1.312 kB / 0.5921 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.3866, allocations: 22.75 kB / 0.5921 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.269e-05/0.3867, allocations: 52.34 kB / 0.5921 GB, free: 17.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.3888, allocations: 1.002 MB / 0.5931 GB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.3922, allocations: 3.492 MB / 0.5965 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.3935, allocations: 0.4939 MB / 0.597 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.394, allocations: 224.7 kB / 0.5972 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3941, allocations: 4 kB / 0.5972 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.3941, allocations: 38.56 kB / 0.5973 GB, free: 12.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.3941, allocations: 0 / 0.5973 GB, free: 12.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006113/0.4002, allocations: 2.029 MB / 0.5992 GB, free: 10.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.4003, allocations: 55.41 kB / 0.5993 GB, free: 10.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.4008, allocations: 0.5666 MB / 0.5999 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.4008, allocations: 37.7 kB / 0.5999 GB, free: 9.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.401, allocations: 356.1 kB / 0.6002 GB, free: 9.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/0.4011, allocations: 149.8 kB / 0.6004 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.4012, allocations: 86.25 kB / 0.6005 GB, free: 9.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.4013, allocations: 378.7 kB / 0.6008 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.4019, allocations: 258.9 kB / 0.6011 GB, free: 8.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.4025, allocations: 365.8 kB / 0.6014 GB, free: 8.352 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.4036, allocations: 0.6187 MB / 0.602 GB, free: 7.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4036, allocations: 0 / 0.602 GB, free: 7.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002022/0.4056, allocations: 0.9312 MB / 0.6029 GB, free: 6.734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4057, allocations: 8 kB / 0.6029 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4057, allocations: 0 / 0.6029 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009679/0.4067, allocations: 285.2 kB / 0.6032 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/0.4072, allocations: 111.8 kB / 0.6033 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/0.4139, allocations: 9.127 MB / 0.6122 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/0.4148, allocations: 48.02 kB / 0.6123 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.4148, allocations: 15.98 kB / 0.6123 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009978/0.4158, allocations: 440.9 kB / 0.6127 GB, free: 11.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000767/0.4166, allocations: 361.4 kB / 0.613 GB, free: 11.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001466/0.4181, allocations: 0.6051 MB / 0.6136 GB, free: 10.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.4181, allocations: 4 kB / 0.6136 GB, free: 10.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002649/0.4208, allocations: 1.121 MB / 0.6147 GB, free: 9.613 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4208, allocations: 15.88 kB / 0.6148 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4208, allocations: 4.344 kB / 0.6148 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008366/0.4217, allocations: 220.9 kB / 0.615 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.4223, allocations: 123.8 kB / 0.6151 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/0.4299, allocations: 8.795 MB / 0.6237 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.4307, allocations: 47.94 kB / 0.6237 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.4307, allocations: 19.94 kB / 0.6237 GB, free: 15.54 MB / 478.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 (47): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002417/0.431, allocations: 211.5 kB / 0.6239 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.4311, allocations: 71.16 kB / 0.624 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.4313, allocations: 78.38 kB / 0.6241 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4313, allocations: 4 kB / 0.6241 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4313, allocations: 0 / 0.6241 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4313, allocations: 11.98 kB / 0.6241 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009215/0.4323, allocations: 0.6455 MB / 0.6247 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4323, allocations: 0 / 0.6247 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.4328, allocations: 87.86 kB / 0.6248 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.4338, allocations: 260.9 kB / 0.6251 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.4339, allocations: 7.984 kB / 0.6251 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008159/0.4421, allocations: 9.065 MB / 0.6339 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4421, allocations: 0 / 0.6339 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.4446, allocations: 0.9131 MB / 0.6348 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.445, allocations: 180.2 kB / 0.635 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.804e-05/0.4451, allocations: 16 kB / 0.635 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.4456, allocations: 43.94 kB / 0.635 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.4458, allocations: 35.95 kB / 0.6351 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.4458, allocations: 15.98 kB / 0.6351 GB, free: 2.941 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005501/0.4464, allocations: 407 kB / 0.6355 GB, free: 2.547 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.994e-06/0.4464, allocations: 0 / 0.6355 GB, free: 2.547 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4476, allocations: 303.9 kB / 0.6358 GB, free: 2.25 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.4478, allocations: 107.2 kB / 0.6359 GB, free: 2.137 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004394/0.4522, allocations: 2.408 MB / 0.6382 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4523, allocations: 0 / 0.6382 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.4538, allocations: 0.996 MB / 0.6392 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.455, allocations: 228.9 kB / 0.6394 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.4577, allocations: 1.371 MB / 0.6408 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.4584, allocations: 0.9781 MB / 0.6417 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.4586, allocations: 51.42 kB / 0.6418 GB, free: 11.82 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4586, allocations: 0 / 0.6418 GB, free: 11.82 MB / 494.1 MB Notification: Performance of Templates: time 0.033/0.4916, allocations: 26.95 MB / 0.6681 GB, free: 0.918 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)