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.001102/0.001103, allocations: 112.6 kB / 16.37 MB, free: 6 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.304/1.304, allocations: 222.9 MB / 240 MB, free: 4.562 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.001279/0.001279, allocations: 192.5 kB / 290.3 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5072/0.5072, allocations: 91.91 MB / 432.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 83.88 kB / 0.5033 GB, free: 6.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3479, allocations: 71.26 MB / 0.5729 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005434/0.3534, allocations: 6.96 MB / 0.5797 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003446/0.3568, allocations: 2.295 MB / 0.5819 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004735/0.3573, allocations: 7.938 kB / 0.5819 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.3578, allocations: 258.3 kB / 0.5822 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.3595, allocations: 0.9618 MB / 0.5831 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.3604, allocations: 0.5896 MB / 0.5837 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.3618, allocations: 1.852 MB / 0.5855 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.3621, allocations: 262.3 kB / 0.5857 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005922/0.3627, allocations: 0.746 MB / 0.5865 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007912/0.3635, allocations: 0.9977 MB / 0.5874 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.3637, allocations: 158.4 kB / 0.5876 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.3643, allocations: 339.6 kB / 0.5879 GB, free: 28.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.3645, allocations: 393.8 kB / 0.5883 GB, free: 28.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004911/0.365, allocations: 0.7624 MB / 0.589 GB, free: 27.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3663, allocations: 1.861 MB / 0.5909 GB, free: 26.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3663, allocations: 0 / 0.5909 GB, free: 26.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3664, allocations: 0 / 0.5909 GB, free: 26.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.3664, allocations: 0 / 0.5909 GB, free: 26.75 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.01153/0.3779, allocations: 3.328 MB / 0.5941 GB, free: 25.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.378, allocations: 12.78 kB / 0.5941 GB, free: 25.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.3812, allocations: 0.5183 MB / 0.5946 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.3826, allocations: 0.9808 MB / 0.5956 GB, free: 24.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.3829, allocations: 231.2 kB / 0.5958 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.3831, allocations: 88.28 kB / 0.5959 GB, free: 24.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.385, allocations: 0.9788 MB / 0.5968 GB, free: 24.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3851, allocations: 0 / 0.5968 GB, free: 24.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.3851, allocations: 30.09 kB / 0.5969 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3852, allocations: 16.53 kB / 0.5969 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.3875, allocations: 1.085 MB / 0.598 GB, free: 23.7 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.006092/0.3936, allocations: 3.738 MB / 0.6016 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.3964, allocations: 1.682 MB / 0.6032 GB, free: 20.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.3977, allocations: 0.7163 MB / 0.6039 GB, free: 20.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.3979, allocations: 18.05 kB / 0.604 GB, free: 20.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.3979, allocations: 44.48 kB / 0.604 GB, free: 20.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.066e-06/0.3979, allocations: 0 / 0.604 GB, free: 20.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02037/0.4183, allocations: 5.592 MB / 0.6095 GB, free: 18.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.4183, allocations: 67.09 kB / 0.6095 GB, free: 18.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.4203, allocations: 1.272 MB / 0.6108 GB, free: 18.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002803/0.4206, allocations: 51.2 kB / 0.6108 GB, free: 18.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.4209, allocations: 479.3 kB / 0.6113 GB, free: 17.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.4213, allocations: 394.9 kB / 0.6117 GB, free: 17.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006456/0.4219, allocations: 381.8 kB / 0.612 GB, free: 17.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.422, allocations: 305.7 kB / 0.6123 GB, free: 17.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.4238, allocations: 0.9431 MB / 0.6132 GB, free: 16.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.4258, allocations: 1.109 MB / 0.6143 GB, free: 16.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.4294, allocations: 1.937 MB / 0.6162 GB, free: 15.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4294, allocations: 0 / 0.6162 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006156/0.4356, allocations: 3.046 MB / 0.6192 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.4356, allocations: 5.594 kB / 0.6192 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4357, allocations: 1.094 kB / 0.6192 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0078/0.4435, allocations: 2.278 MB / 0.6214 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.4452, allocations: 355.5 kB / 0.6218 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/0.4494, allocations: 2.277 MB / 0.624 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.4515, allocations: 218.3 kB / 0.6242 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.4517, allocations: 71.97 kB / 0.6243 GB, free: 9.348 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.0004418/0.4521, allocations: 265.5 kB / 0.6245 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.4524, allocations: 134.2 kB / 0.6246 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008502/0.4609, allocations: 3.342 MB / 0.6279 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4609, allocations: 12 kB / 0.6279 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.4609, allocations: 4 kB / 0.6279 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.4609, allocations: 7.969 kB / 0.6279 GB, free: 5.562 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.01031/0.4713, allocations: 5.02 MB / 0.6328 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.4713, allocations: 7.984 kB / 0.6328 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.472, allocations: 131.8 kB / 0.633 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004749/0.4767, allocations: 1.438 MB / 0.6344 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.4769, allocations: 24 kB / 0.6344 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/0.4944, allocations: 7.835 MB / 0.642 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4945, allocations: 0 / 0.642 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.5059, allocations: 4.236 MB / 0.6462 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006676/0.5066, allocations: 247.1 kB / 0.6464 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.5068, allocations: 19.94 kB / 0.6464 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.508, allocations: 99.89 kB / 0.6465 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004855/0.5085, allocations: 180.7 kB / 0.6467 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/0.5086, allocations: 28 kB / 0.6467 GB, free: 1.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.5097, allocations: 0.8434 MB / 0.6475 GB, free: 1.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5097, allocations: 0 / 0.6475 GB, free: 1.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001243/0.5109, allocations: 483.6 kB / 0.648 GB, free: 0.6641 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.000314/0.5112, allocations: 151.6 kB / 0.6481 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006415/0.5177, allocations: 2.457 MB / 0.6505 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.5177, allocations: 8 kB / 0.6506 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003679/0.5214, allocations: 1.348 MB / 0.6519 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.5222, allocations: 116.6 kB / 0.652 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.5264, allocations: 2.65 MB / 0.6546 GB, free: 9.895 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.5271, allocations: 1.112 MB / 0.6557 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.5275, allocations: 116.7 kB / 0.6558 GB, free: 8.633 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.5278, allocations: 91.42 kB / 0.6559 GB, free: 8.543 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5278, allocations: 0 / 0.6559 GB, free: 8.543 MB / 462.1 MB Notification: Performance of Templates: time 0.03434/0.5622, allocations: 24.78 MB / 0.6801 GB, free: 15.79 MB / 494.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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)