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.001309/0.001309, allocations: 114.9 kB / 16.37 MB, free: 6.016 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.323/1.323, allocations: 222.9 MB / 240 MB, free: 4.383 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.001339/0.00134, allocations: 184.5 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5224/0.5224, allocations: 91.9 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 79.86 kB / 0.5033 GB, free: 6.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3436, allocations: 71.26 MB / 0.5729 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005868/0.3495, allocations: 6.964 MB / 0.5797 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.3533, allocations: 2.288 MB / 0.5819 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.3537, allocations: 9.531 kB / 0.5819 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004816/0.3542, allocations: 252.5 kB / 0.5822 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.3559, allocations: 0.9763 MB / 0.5831 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.3568, allocations: 0.5826 MB / 0.5837 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3583, allocations: 1.856 MB / 0.5855 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.3587, allocations: 258.3 kB / 0.5857 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005828/0.3592, allocations: 0.7377 MB / 0.5865 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007807/0.36, allocations: 1.006 MB / 0.5874 GB, free: 28.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.3602, allocations: 155.7 kB / 0.5876 GB, free: 28.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.3608, allocations: 341.7 kB / 0.5879 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.3611, allocations: 390.4 kB / 0.5883 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.3618, allocations: 0.7614 MB / 0.589 GB, free: 27.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.3636, allocations: 1.862 MB / 0.5909 GB, free: 26.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3636, allocations: 5.281 kB / 0.5909 GB, free: 26.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3636, allocations: 0 / 0.5909 GB, free: 26.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.779e-05/0.3637, allocations: 0 / 0.5909 GB, free: 26.62 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.01131/0.375, allocations: 3.329 MB / 0.5941 GB, free: 25.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.375, allocations: 10.41 kB / 0.5941 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.3781, allocations: 0.5157 MB / 0.5946 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.3795, allocations: 0.9805 MB / 0.5956 GB, free: 24.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003026/0.3798, allocations: 236.4 kB / 0.5958 GB, free: 24.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.38, allocations: 86.03 kB / 0.5959 GB, free: 24.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.3823, allocations: 0.9826 MB / 0.5968 GB, free: 23.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.3823, allocations: 0 / 0.5968 GB, free: 23.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.3824, allocations: 30.03 kB / 0.5969 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.3824, allocations: 16.86 kB / 0.5969 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.3849, allocations: 1.087 MB / 0.598 GB, free: 23.57 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.005911/0.3908, allocations: 3.742 MB / 0.6016 GB, free: 21.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.394, allocations: 1.676 MB / 0.6032 GB, free: 20.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.3954, allocations: 0.7217 MB / 0.604 GB, free: 20.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.3956, allocations: 17.83 kB / 0.604 GB, free: 20.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.3956, allocations: 44.45 kB / 0.604 GB, free: 20.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.103e-06/0.3956, allocations: 0 / 0.604 GB, free: 20.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02162/0.4172, allocations: 5.591 MB / 0.6095 GB, free: 18.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4173, allocations: 63.5 kB / 0.6095 GB, free: 18.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.4193, allocations: 1.273 MB / 0.6108 GB, free: 18.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.4195, allocations: 54.67 kB / 0.6108 GB, free: 18.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.4198, allocations: 475.6 kB / 0.6113 GB, free: 17.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.4202, allocations: 394.7 kB / 0.6117 GB, free: 17.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007003/0.4209, allocations: 382.8 kB / 0.612 GB, free: 17.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.421, allocations: 301.9 kB / 0.6123 GB, free: 17.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/0.423, allocations: 0.9459 MB / 0.6132 GB, free: 16.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.4251, allocations: 1.113 MB / 0.6143 GB, free: 16.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/0.4288, allocations: 1.929 MB / 0.6162 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4288, allocations: 1.125 kB / 0.6162 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006221/0.435, allocations: 3.051 MB / 0.6192 GB, free: 13.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4351, allocations: 5.688 kB / 0.6192 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4351, allocations: 1.156 kB / 0.6192 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008419/0.4435, allocations: 2.271 MB / 0.6214 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.4453, allocations: 359.5 kB / 0.6218 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004506/0.4498, allocations: 2.278 MB / 0.624 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.4523, allocations: 214.3 kB / 0.6242 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.4524, allocations: 67.98 kB / 0.6242 GB, free: 9.34 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.0004703/0.4529, allocations: 265.5 kB / 0.6245 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.4532, allocations: 134.2 kB / 0.6246 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009358/0.4625, allocations: 3.346 MB / 0.6279 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.4626, allocations: 16 kB / 0.6279 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4626, allocations: 0 / 0.6279 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.4626, allocations: 7.922 kB / 0.6279 GB, free: 5.551 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.01124/0.4739, allocations: 5.027 MB / 0.6328 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4739, allocations: 0 / 0.6328 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000747/0.4746, allocations: 135.8 kB / 0.633 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00517/0.4798, allocations: 1.434 MB / 0.6344 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.48, allocations: 31.98 kB / 0.6344 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01886/0.4989, allocations: 7.831 MB / 0.642 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4989, allocations: 0 / 0.642 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/0.5114, allocations: 4.232 MB / 0.6462 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/0.5121, allocations: 259 kB / 0.6464 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.5126, allocations: 19.94 kB / 0.6464 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.5141, allocations: 99.89 kB / 0.6465 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005636/0.5147, allocations: 176.8 kB / 0.6467 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/0.5148, allocations: 27.98 kB / 0.6467 GB, free: 1.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001359/0.5161, allocations: 0.8434 MB / 0.6475 GB, free: 1.117 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5161, allocations: 0 / 0.6475 GB, free: 1.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001596/0.5177, allocations: 479.6 kB / 0.648 GB, free: 0.6484 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.000374/0.5181, allocations: 160.2 kB / 0.6482 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007292/0.5254, allocations: 2.453 MB / 0.6506 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5255, allocations: 4 kB / 0.6506 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004219/0.5297, allocations: 1.36 MB / 0.6519 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.5314, allocations: 108.7 kB / 0.652 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.5368, allocations: 2.656 MB / 0.6546 GB, free: 9.875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/0.5376, allocations: 1.112 MB / 0.6557 GB, free: 8.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006397/0.5383, allocations: 120.6 kB / 0.6558 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.5387, allocations: 87.42 kB / 0.6559 GB, free: 8.523 MB / 462.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5387, allocations: 0 / 0.6559 GB, free: 8.523 MB / 462.1 MB Notification: Performance of Templates: time 0.03727/0.576, allocations: 24.78 MB / 0.6801 GB, free: 15.76 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 gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)