Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.01171/0.01171, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.432/1.432, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001538/0.001538, allocations: 188.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5256/0.5256, allocations: 78.53 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 79.88 kB / 0.5536 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.401, allocations: 68.16 MB / 0.6202 GB, free: 10 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005918/0.4069, allocations: 6.94 MB / 0.6269 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00508/0.412, allocations: 2.309 MB / 0.6292 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.4131, allocations: 8 kB / 0.6292 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007076/0.4139, allocations: 253.8 kB / 0.6295 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.417, allocations: 1.241 MB / 0.6307 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.4181, allocations: 0.4938 MB / 0.6311 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002677/0.4208, allocations: 2.016 MB / 0.6331 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004917/0.4213, allocations: 264.8 kB / 0.6334 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.4225, allocations: 0.7705 MB / 0.6341 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.4238, allocations: 1.031 MB / 0.6351 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.424, allocations: 156 kB / 0.6353 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008261/0.4249, allocations: 339.8 kB / 0.6356 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.4253, allocations: 414.4 kB / 0.636 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007876/0.4261, allocations: 0.7693 MB / 0.6367 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.4287, allocations: 1.904 MB / 0.6386 GB, free: 7.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.4287, allocations: 3.984 kB / 0.6386 GB, free: 7.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4287, allocations: 0 / 0.6386 GB, free: 7.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.497e-05/0.4288, allocations: 4 kB / 0.6386 GB, free: 7.426 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01564/0.4444, allocations: 3.948 MB / 0.6425 GB, free: 3.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4445, allocations: 8.031 kB / 0.6425 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.4477, allocations: 0.5152 MB / 0.643 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.4494, allocations: 0.9944 MB / 0.644 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/0.4497, allocations: 226.9 kB / 0.6442 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.4499, allocations: 95.95 kB / 0.6443 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.452, allocations: 0.9794 MB / 0.6452 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.452, allocations: 7.938 kB / 0.6452 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/0.4521, allocations: 24 kB / 0.6452 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.4521, allocations: 16 kB / 0.6453 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.4546, allocations: 1.097 MB / 0.6463 GB, free: 15.37 MB / 462.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.006878/0.4615, allocations: 3.727 MB / 0.65 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/0.4646, allocations: 1.675 MB / 0.6516 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.4661, allocations: 0.7144 MB / 0.6523 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.4663, allocations: 24.97 kB / 0.6523 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.4663, allocations: 39.56 kB / 0.6524 GB, free: 8.887 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 2.825e-06/0.4663, allocations: 0 / 0.6524 GB, free: 8.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.02152/0.4878, allocations: 5.605 MB / 0.6578 GB, free: 3.242 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.488, allocations: 64.41 kB / 0.6579 GB, free: 3.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.4902, allocations: 1.279 MB / 0.6592 GB, free: 1.879 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003212/0.4905, allocations: 49.7 kB / 0.6592 GB, free: 1.824 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.4909, allocations: 486.2 kB / 0.6597 GB, free: 1.344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000458/0.4914, allocations: 412.5 kB / 0.6601 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006418/0.492, allocations: 383.4 kB / 0.6604 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4921, allocations: 301.1 kB / 0.6607 GB, free: 264 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.4942, allocations: 0.9449 MB / 0.6616 GB, free: 15.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.4962, allocations: 1.101 MB / 0.6627 GB, free: 14.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003664/0.4999, allocations: 1.935 MB / 0.6646 GB, free: 12.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4999, allocations: 3.984 kB / 0.6646 GB, free: 12.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.0065/0.5064, allocations: 3.048 MB / 0.6676 GB, free: 9.156 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.5065, allocations: 7.984 kB / 0.6676 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5065, allocations: 4 kB / 0.6676 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008738/0.5152, allocations: 2.28 MB / 0.6698 GB, free: 6.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.5174, allocations: 355.5 kB / 0.6702 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.5225, allocations: 2.277 MB / 0.6724 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.525, allocations: 218.8 kB / 0.6726 GB, free: 3.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.5252, allocations: 63.98 kB / 0.6726 GB, free: 3.926 MB / 478.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.000543/0.5257, allocations: 269.5 kB / 0.6729 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.526, allocations: 139 kB / 0.673 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.5363, allocations: 3.349 MB / 0.6763 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.5363, allocations: 12 kB / 0.6763 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.5364, allocations: 4 kB / 0.6763 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.5364, allocations: 3.984 kB / 0.6763 GB, free: 136 kB / 478.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.01269/0.5491, allocations: 5.028 MB / 0.6812 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.5492, allocations: 0 / 0.6812 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/0.55, allocations: 135.8 kB / 0.6814 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005043/0.555, allocations: 1.438 MB / 0.6828 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.5552, allocations: 23.94 kB / 0.6828 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/0.5738, allocations: 7.847 MB / 0.6905 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5739, allocations: 4 kB / 0.6905 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.5866, allocations: 4.24 MB / 0.6946 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000848/0.5875, allocations: 255.9 kB / 0.6948 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005318/0.5881, allocations: 27.88 kB / 0.6949 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.5897, allocations: 91.91 kB / 0.695 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006556/0.5904, allocations: 188.5 kB / 0.6951 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.5905, allocations: 20 kB / 0.6952 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001548/0.5921, allocations: 0.8512 MB / 0.696 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.275e-06/0.5921, allocations: 0 / 0.696 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00177/0.5939, allocations: 487.6 kB / 0.6965 GB, free: 11.2 MB / 0.4981 GB 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.0003164/0.5942, allocations: 147 kB / 0.6966 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006576/0.6008, allocations: 2.461 MB / 0.699 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6008, allocations: 0 / 0.699 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004003/0.6048, allocations: 1.352 MB / 0.7003 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6061, allocations: 104.7 kB / 0.7004 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.6109, allocations: 2.723 MB / 0.7031 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.6116, allocations: 1.109 MB / 0.7042 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005299/0.6121, allocations: 124.6 kB / 0.7043 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.6125, allocations: 83.42 kB / 0.7044 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.6125, allocations: 4 kB / 0.7044 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of Templates: time 0.03993/0.6524, allocations: 25.02 MB / 0.7288 GB, free: 9.988 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)