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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 182.7 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 101.2 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4419/0.4419, allocations: 78.48 MB / 418.5 MB, free: 8.855 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 497.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.251, allocations: 68.12 MB / 0.5523 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005334/0.2564, allocations: 7.188 MB / 0.5593 GB, free: 13.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.26, allocations: 2.325 MB / 0.5616 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008967/0.2609, allocations: 11.94 kB / 0.5616 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.2616, allocations: 202.8 kB / 0.5618 GB, free: 10.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.2643, allocations: 1.142 MB / 0.5629 GB, free: 9.352 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.2653, allocations: 466.3 kB / 0.5634 GB, free: 8.898 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.2671, allocations: 1.933 MB / 0.5652 GB, free: 6.961 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.2675, allocations: 241.2 kB / 0.5655 GB, free: 6.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008031/0.2683, allocations: 0.7002 MB / 0.5662 GB, free: 6.008 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.2694, allocations: 0.9802 MB / 0.5671 GB, free: 5.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.2696, allocations: 92 kB / 0.5672 GB, free: 4.934 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005955/0.2702, allocations: 255.8 kB / 0.5674 GB, free: 4.684 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.2705, allocations: 342.5 kB / 0.5678 GB, free: 4.348 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.271, allocations: 0.7068 MB / 0.5685 GB, free: 3.637 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.2723, allocations: 1.824 MB / 0.5702 GB, free: 1.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2723, allocations: 0 / 0.5702 GB, free: 1.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.2723, allocations: 0 / 0.5702 GB, free: 1.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.2724, allocations: 0 / 0.5702 GB, free: 1.809 MB / 378.7 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.01462/0.287, allocations: 3.894 MB / 0.574 GB, free: 13.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.287, allocations: 15.95 kB / 0.5741 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/0.2901, allocations: 0.5182 MB / 0.5746 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.2916, allocations: 0.9817 MB / 0.5755 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.2918, allocations: 238.9 kB / 0.5758 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.292, allocations: 84 kB / 0.5758 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.294, allocations: 0.9794 MB / 0.5768 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2941, allocations: 0 / 0.5768 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.2942, allocations: 28 kB / 0.5768 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.2942, allocations: 24 kB / 0.5768 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.2966, allocations: 1.085 MB / 0.5779 GB, free: 9.82 MB / 394.7 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.005899/0.3026, allocations: 3.75 MB / 0.5816 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/0.3056, allocations: 1.677 MB / 0.5832 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.307, allocations: 0.7115 MB / 0.5839 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.3072, allocations: 20.92 kB / 0.5839 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3072, allocations: 55.55 kB / 0.584 GB, free: 3.305 MB / 394.7 MB Notification: Performance of pre-optimization done (n=103): time 3.327e-06/0.3072, allocations: 0 / 0.584 GB, free: 3.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=103): time 0.02171/0.3289, allocations: 5.592 MB / 0.5894 GB, free: 13.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.329, allocations: 68.34 kB / 0.5895 GB, free: 13.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.3307, allocations: 1.271 MB / 0.5907 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.3309, allocations: 53.7 kB / 0.5908 GB, free: 12.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.3312, allocations: 473.6 kB / 0.5912 GB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.3316, allocations: 394.5 kB / 0.5916 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006406/0.3322, allocations: 383.2 kB / 0.592 GB, free: 11.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.3323, allocations: 305.1 kB / 0.5923 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.3343, allocations: 0.941 MB / 0.5932 GB, free: 9.773 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.3364, allocations: 1.109 MB / 0.5943 GB, free: 8.633 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/0.3402, allocations: 1.935 MB / 0.5962 GB, free: 6.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3402, allocations: 0 / 0.5962 GB, free: 6.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006388/0.3466, allocations: 3.036 MB / 0.5991 GB, free: 3.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3466, allocations: 11.94 kB / 0.5991 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3466, allocations: 4.172 kB / 0.5991 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008741/0.3554, allocations: 2.28 MB / 0.6014 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.357, allocations: 359.5 kB / 0.6017 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005018/0.362, allocations: 2.265 MB / 0.6039 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.3641, allocations: 226.2 kB / 0.6041 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.3643, allocations: 67.98 kB / 0.6042 GB, free: 14.39 MB / 426.7 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.0004738/0.3647, allocations: 259 kB / 0.6045 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.365, allocations: 138.2 kB / 0.6046 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.3759, allocations: 3.346 MB / 0.6079 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.376, allocations: 12 kB / 0.6079 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.376, allocations: 0 / 0.6079 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.376, allocations: 3.984 kB / 0.6079 GB, free: 10.62 MB / 426.7 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.0118/0.3878, allocations: 5.039 MB / 0.6128 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3879, allocations: 0 / 0.6128 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.3886, allocations: 131.8 kB / 0.6129 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005152/0.3937, allocations: 1.437 MB / 0.6143 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.3938, allocations: 20 kB / 0.6143 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.411, allocations: 7.164 MB / 0.6213 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.411, allocations: 0 / 0.6213 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08451/0.4956, allocations: 29.66 MB / 0.6503 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.496, allocations: 255 kB / 0.6505 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.4964, allocations: 23.94 kB / 0.6506 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.4978, allocations: 91.89 kB / 0.6506 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005829/0.4984, allocations: 188.7 kB / 0.6508 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.141e-05/0.4985, allocations: 24 kB / 0.6509 GB, free: 13.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.4996, allocations: 0.8472 MB / 0.6517 GB, free: 13.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4996, allocations: 0 / 0.6517 GB, free: 13.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00193/0.5015, allocations: 0.6793 MB / 0.6523 GB, free: 12.43 MB / 474.7 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.0002782/0.5018, allocations: 147.1 kB / 0.6525 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007103/0.5089, allocations: 2.423 MB / 0.6548 GB, free: 9.852 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.509, allocations: 0 / 0.6548 GB, free: 9.852 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004253/0.5132, allocations: 1.34 MB / 0.6562 GB, free: 8.496 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.5142, allocations: 104.8 kB / 0.6563 GB, free: 8.391 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00847/0.5227, allocations: 4.317 MB / 0.6605 GB, free: 4.023 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.5234, allocations: 1.155 MB / 0.6616 GB, free: 2.836 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006857/0.5241, allocations: 136.6 kB / 0.6617 GB, free: 2.699 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.5245, allocations: 87.41 kB / 0.6618 GB, free: 2.613 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5245, allocations: 0 / 0.6618 GB, free: 2.613 MB / 474.7 MB Notification: Performance of Templates: time 0.2478/0.7723, allocations: 32.75 MB / 0.6938 GB, free: 113 MB / 490.7 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)