Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00709/0.00709, allocations: 101.1 kB / 15.88 MB, free: 6.332 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.346/1.346, allocations: 222.9 MB / 239.5 MB, free: 4.812 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 192.4 kB / 289.8 MB, free: 2.543 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5365/0.5365, allocations: 91.89 MB / 431.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 79.88 kB / 0.5018 GB, free: 8.23 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3927, allocations: 71.27 MB / 0.5714 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.00704/0.3998, allocations: 7.204 MB / 0.5785 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.4051, allocations: 2.315 MB / 0.5807 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.4062, allocations: 13 kB / 0.5808 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.4069, allocations: 199.7 kB / 0.5809 GB, free: 30.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.4093, allocations: 0.8722 MB / 0.5818 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.4106, allocations: 0.5424 MB / 0.5823 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002098/0.4127, allocations: 1.751 MB / 0.584 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.4131, allocations: 234.1 kB / 0.5843 GB, free: 28.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008137/0.414, allocations: 0.6694 MB / 0.5849 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.4148, allocations: 0.9455 MB / 0.5858 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.415, allocations: 89.66 kB / 0.5859 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.4156, allocations: 263.4 kB / 0.5862 GB, free: 28.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.4158, allocations: 335.8 kB / 0.5865 GB, free: 28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000502/0.4163, allocations: 0.6935 MB / 0.5872 GB, free: 27.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4174, allocations: 1.413 MB / 0.5886 GB, free: 27.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4174, allocations: 0 / 0.5886 GB, free: 27.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4174, allocations: 0 / 0.5886 GB, free: 27.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.4175, allocations: 0 / 0.5886 GB, free: 27.04 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01175/0.4292, allocations: 3.327 MB / 0.5918 GB, free: 25.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4293, allocations: 9.625 kB / 0.5918 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/0.4324, allocations: 0.5164 MB / 0.5923 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.4339, allocations: 0.9778 MB / 0.5933 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.4342, allocations: 230.9 kB / 0.5935 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.4344, allocations: 90.11 kB / 0.5936 GB, free: 24.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.4364, allocations: 0.9803 MB / 0.5945 GB, free: 24.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.4364, allocations: 0 / 0.5945 GB, free: 24.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.4365, allocations: 33.42 kB / 0.5946 GB, free: 24.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.4365, allocations: 16.22 kB / 0.5946 GB, free: 24.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.439, allocations: 1.09 MB / 0.5956 GB, free: 23.99 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006421/0.4454, allocations: 3.744 MB / 0.5993 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.4485, allocations: 1.674 MB / 0.6009 GB, free: 20.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.45, allocations: 0.7175 MB / 0.6016 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.4501, allocations: 17.42 kB / 0.6017 GB, free: 20.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.4502, allocations: 48.94 kB / 0.6017 GB, free: 20.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.876e-06/0.4502, allocations: 0 / 0.6017 GB, free: 20.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02229/0.4725, allocations: 5.592 MB / 0.6072 GB, free: 19.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.4726, allocations: 62.19 kB / 0.6072 GB, free: 19.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.4747, allocations: 1.273 MB / 0.6085 GB, free: 18.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000297/0.4751, allocations: 55.2 kB / 0.6085 GB, free: 18.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.4754, allocations: 474.9 kB / 0.609 GB, free: 18.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/0.4758, allocations: 394.8 kB / 0.6093 GB, free: 17.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006797/0.4765, allocations: 381.5 kB / 0.6097 GB, free: 17.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.4766, allocations: 301.8 kB / 0.61 GB, free: 17.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.4786, allocations: 0.9518 MB / 0.6109 GB, free: 17.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.4808, allocations: 1.108 MB / 0.612 GB, free: 16.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.4847, allocations: 1.929 MB / 0.6139 GB, free: 15.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4847, allocations: 0 / 0.6139 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006935/0.4917, allocations: 3.041 MB / 0.6169 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.4917, allocations: 5.953 kB / 0.6169 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4917, allocations: 1.469 kB / 0.6169 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008843/0.5006, allocations: 2.278 MB / 0.6191 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.5024, allocations: 359.5 kB / 0.6194 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004587/0.507, allocations: 2.281 MB / 0.6217 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.5095, allocations: 226.2 kB / 0.6219 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.5097, allocations: 63.98 kB / 0.6219 GB, free: 10.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (204): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005275/0.5102, allocations: 265.5 kB / 0.6222 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.5105, allocations: 138.2 kB / 0.6223 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009329/0.5198, allocations: 3.346 MB / 0.6256 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.5199, allocations: 12 kB / 0.6256 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.5199, allocations: 0 / 0.6256 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.5199, allocations: 7.922 kB / 0.6256 GB, free: 6.875 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.5315, allocations: 5.035 MB / 0.6305 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.5316, allocations: 0 / 0.6305 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/0.5324, allocations: 135.8 kB / 0.6307 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004754/0.5372, allocations: 1.433 MB / 0.6321 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.5374, allocations: 20 kB / 0.6321 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/0.556, allocations: 7.162 MB / 0.6391 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5561, allocations: 0 / 0.6391 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.5694, allocations: 4.233 MB / 0.6432 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007489/0.5702, allocations: 243.1 kB / 0.6434 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005475/0.5707, allocations: 20 kB / 0.6435 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.5725, allocations: 95.89 kB / 0.6435 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/0.5732, allocations: 184.6 kB / 0.6437 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.5733, allocations: 28 kB / 0.6438 GB, free: 3.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.5749, allocations: 0.8473 MB / 0.6446 GB, free: 3.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5749, allocations: 0 / 0.6446 GB, free: 3.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002019/0.577, allocations: 491.7 kB / 0.645 GB, free: 2.648 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003829/0.5773, allocations: 135.1 kB / 0.6452 GB, free: 2.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007603/0.585, allocations: 2.435 MB / 0.6476 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.585, allocations: 4 kB / 0.6476 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004437/0.5894, allocations: 1.332 MB / 0.6489 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.5915, allocations: 104.9 kB / 0.649 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007123/0.5986, allocations: 3.134 MB / 0.652 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.5997, allocations: 1.117 MB / 0.6531 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007564/0.6005, allocations: 79.42 kB / 0.6532 GB, free: 10.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6005, allocations: 4 kB / 0.6532 GB, free: 10.22 MB / 462.1 MB Notification: Performance of Templates: time 0.0337/0.6342, allocations: 21.25 MB / 0.6739 GB, free: 4.996 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)