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.005699/0.005699, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.311/1.311, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001425/0.001425, allocations: 184.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4399/0.4399, allocations: 78.52 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 79.86 kB / 0.5536 GB, free: 1.016 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3464, allocations: 68.16 MB / 0.6202 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005439/0.3519, allocations: 6.941 MB / 0.6269 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.3554, allocations: 2.301 MB / 0.6292 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.3559, allocations: 8 kB / 0.6292 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.3564, allocations: 249.8 kB / 0.6294 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.3588, allocations: 1.247 MB / 0.6306 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3598, allocations: 0.4997 MB / 0.6311 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.362, allocations: 2.021 MB / 0.6331 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.3625, allocations: 256.8 kB / 0.6334 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009871/0.3635, allocations: 0.7822 MB / 0.6341 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.3646, allocations: 1.035 MB / 0.6351 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.3649, allocations: 156 kB / 0.6353 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006407/0.3655, allocations: 335.8 kB / 0.6356 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.3659, allocations: 414.4 kB / 0.636 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.3665, allocations: 0.7693 MB / 0.6367 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.3683, allocations: 1.894 MB / 0.6386 GB, free: 7.488 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3684, allocations: 0 / 0.6386 GB, free: 7.488 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3684, allocations: 0 / 0.6386 GB, free: 7.488 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.3684, allocations: 0 / 0.6386 GB, free: 7.488 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.01503/0.3834, allocations: 3.9 MB / 0.6424 GB, free: 3.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3835, allocations: 12.03 kB / 0.6424 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/0.3869, allocations: 0.5104 MB / 0.6429 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.389, allocations: 0.9816 MB / 0.6439 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.3893, allocations: 238.9 kB / 0.6441 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.3896, allocations: 88 kB / 0.6442 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.3919, allocations: 0.9794 MB / 0.6451 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.392, allocations: 0 / 0.6451 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.744e-05/0.3921, allocations: 31.94 kB / 0.6452 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.3921, allocations: 16 kB / 0.6452 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.3947, allocations: 1.089 MB / 0.6462 GB, free: 15.49 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.007368/0.4021, allocations: 3.727 MB / 0.6499 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.4053, allocations: 1.679 MB / 0.6515 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.4067, allocations: 0.7144 MB / 0.6522 GB, free: 9.078 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.4069, allocations: 20.98 kB / 0.6522 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.4069, allocations: 39.56 kB / 0.6523 GB, free: 9.012 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 3.106e-06/0.4069, allocations: 0 / 0.6523 GB, free: 9.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.02058/0.4275, allocations: 5.596 MB / 0.6577 GB, free: 3.375 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.4276, allocations: 60.41 kB / 0.6578 GB, free: 3.305 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.4297, allocations: 1.271 MB / 0.659 GB, free: 2.023 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00024/0.4299, allocations: 53.69 kB / 0.6591 GB, free: 1.965 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.4304, allocations: 477.6 kB / 0.6596 GB, free: 1.492 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/0.4308, allocations: 394.5 kB / 0.6599 GB, free: 1.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008385/0.4317, allocations: 387.2 kB / 0.6603 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.4318, allocations: 305.1 kB / 0.6606 GB, free: 424 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/0.4339, allocations: 0.941 MB / 0.6615 GB, free: 15.47 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.436, allocations: 1.109 MB / 0.6626 GB, free: 14.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/0.4399, allocations: 1.927 MB / 0.6645 GB, free: 12.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.4399, allocations: 8 kB / 0.6645 GB, free: 12.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006749/0.4467, allocations: 3.043 MB / 0.6675 GB, free: 9.316 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4467, allocations: 4 kB / 0.6675 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4468, allocations: 7.938 kB / 0.6675 GB, free: 9.305 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00867/0.4554, allocations: 2.272 MB / 0.6697 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.4572, allocations: 359.5 kB / 0.67 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005162/0.4624, allocations: 2.271 MB / 0.6722 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.4645, allocations: 222.2 kB / 0.6725 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.4648, allocations: 67.97 kB / 0.6725 GB, free: 4.09 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.0005643/0.4654, allocations: 269.5 kB / 0.6728 GB, free: 3.816 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.4657, allocations: 134.2 kB / 0.6729 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/0.4762, allocations: 3.349 MB / 0.6762 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.4763, allocations: 12 kB / 0.6762 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4763, allocations: 0 / 0.6762 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.4763, allocations: 11.97 kB / 0.6762 GB, free: 304 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.01263/0.4889, allocations: 5.024 MB / 0.6811 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.489, allocations: 0 / 0.6811 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/0.4899, allocations: 131.8 kB / 0.6812 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005283/0.4952, allocations: 1.438 MB / 0.6826 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.4954, allocations: 23.98 kB / 0.6827 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/0.514, allocations: 7.838 MB / 0.6903 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5141, allocations: 3.938 kB / 0.6903 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.5265, allocations: 4.232 MB / 0.6945 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/0.5271, allocations: 255.1 kB / 0.6947 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/0.5273, allocations: 23.94 kB / 0.6947 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.5287, allocations: 95.89 kB / 0.6948 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/0.5293, allocations: 180.5 kB / 0.695 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/0.5294, allocations: 27.98 kB / 0.695 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001254/0.5307, allocations: 0.8473 MB / 0.6958 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5307, allocations: 0 / 0.6958 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00136/0.532, allocations: 479.6 kB / 0.6963 GB, free: 11.4 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.0002869/0.5323, allocations: 152.9 kB / 0.6964 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007072/0.5394, allocations: 2.461 MB / 0.6988 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5395, allocations: 0 / 0.6988 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004217/0.5437, allocations: 1.345 MB / 0.7002 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.5449, allocations: 112.6 kB / 0.7003 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.5499, allocations: 2.665 MB / 0.7029 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.5506, allocations: 1.116 MB / 0.704 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005345/0.5512, allocations: 120.7 kB / 0.7041 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.5516, allocations: 83.42 kB / 0.7041 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.5516, allocations: 0 / 0.7041 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of Templates: time 0.0401/0.5917, allocations: 25.02 MB / 0.7286 GB, free: 10.25 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)