Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0927/0.0927, allocations: 12.2 MB / 27.47 MB, free: 0.9297 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008723, allocations: 99.52 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 239.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 180.6 kB / 291 MB, free: 13.28 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4903/0.4903, allocations: 78.54 MB / 420.5 MB, free: 48.55 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 32.83 kB / 0.4901 GB, free: 2.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.452, allocations: 69.23 MB / 0.5577 GB, free: 43.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007327/0.4594, allocations: 6.759 MB / 0.5643 GB, free: 40.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006143/0.4656, allocations: 2.267 MB / 0.5665 GB, free: 39.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.4672, allocations: 10.12 kB / 0.5665 GB, free: 39.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007487/0.468, allocations: 202.4 kB / 0.5667 GB, free: 39.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.4719, allocations: 1.128 MB / 0.5678 GB, free: 38.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.4732, allocations: 465.6 kB / 0.5683 GB, free: 38.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.4762, allocations: 1.917 MB / 0.5701 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000471/0.4767, allocations: 226.7 kB / 0.5703 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.478, allocations: 0.6922 MB / 0.571 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.4791, allocations: 0.9548 MB / 0.572 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.4793, allocations: 82.22 kB / 0.572 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007177/0.48, allocations: 245.5 kB / 0.5723 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.4802, allocations: 336.3 kB / 0.5726 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005536/0.4808, allocations: 0.7127 MB / 0.5733 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.4822, allocations: 1.785 MB / 0.575 GB, free: 35.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4823, allocations: 3.062 kB / 0.575 GB, free: 35.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4823, allocations: 0 / 0.575 GB, free: 35.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.4823, allocations: 4 kB / 0.575 GB, free: 35.16 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.01435/0.4967, allocations: 3.763 MB / 0.5787 GB, free: 33.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4967, allocations: 12.23 kB / 0.5787 GB, free: 33.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/0.5001, allocations: 0.5217 MB / 0.5792 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.5019, allocations: 0.9697 MB / 0.5802 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.5022, allocations: 254.3 kB / 0.5804 GB, free: 32.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.5023, allocations: 91.38 kB / 0.5805 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.5045, allocations: 1.041 MB / 0.5815 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5045, allocations: 0 / 0.5815 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.5046, allocations: 30.09 kB / 0.5816 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.5047, allocations: 16.44 kB / 0.5816 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.5071, allocations: 1.179 MB / 0.5827 GB, free: 32.16 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.006069/0.5132, allocations: 3.794 MB / 0.5864 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.5162, allocations: 1.759 MB / 0.5881 GB, free: 28.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.5176, allocations: 0.779 MB / 0.5889 GB, free: 28.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.5177, allocations: 15.48 kB / 0.5889 GB, free: 28.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5177, allocations: 46.03 kB / 0.589 GB, free: 28.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.945e-06/0.5178, allocations: 0 / 0.589 GB, free: 28.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02419/0.542, allocations: 6.625 MB / 0.5954 GB, free: 27.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.5421, allocations: 63.52 kB / 0.5955 GB, free: 27.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.5445, allocations: 1.272 MB / 0.5967 GB, free: 26.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.5449, allocations: 51.25 kB / 0.5968 GB, free: 26.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.5453, allocations: 480.2 kB / 0.5972 GB, free: 26.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/0.5458, allocations: 397.7 kB / 0.5976 GB, free: 26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.5461, allocations: 197.2 kB / 0.5978 GB, free: 25.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.5462, allocations: 305.8 kB / 0.5981 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.5484, allocations: 1.006 MB / 0.5991 GB, free: 25.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.5508, allocations: 1.175 MB / 0.6002 GB, free: 24.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/0.555, allocations: 2.049 MB / 0.6022 GB, free: 23.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.5551, allocations: 1.891 kB / 0.6022 GB, free: 23.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007409/0.5625, allocations: 3.214 MB / 0.6054 GB, free: 22.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.5626, allocations: 6.25 kB / 0.6054 GB, free: 22.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5626, allocations: 5.938 kB / 0.6054 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.5733, allocations: 2.534 MB / 0.6079 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.5755, allocations: 360.3 kB / 0.6082 GB, free: 22.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006103/0.5816, allocations: 2.466 MB / 0.6106 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/0.5847, allocations: 249.6 kB / 0.6108 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.5849, allocations: 69.34 kB / 0.6109 GB, free: 20.78 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.0006333/0.5856, allocations: 263.4 kB / 0.6112 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.5859, allocations: 135.5 kB / 0.6113 GB, free: 20.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.5972, allocations: 3.981 MB / 0.6152 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.5973, allocations: 8 kB / 0.6152 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.5973, allocations: 0 / 0.6152 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.5974, allocations: 7.969 kB / 0.6152 GB, free: 16.88 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.01326/0.6106, allocations: 5.664 MB / 0.6207 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.6107, allocations: 0 / 0.6207 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008862/0.6116, allocations: 139.8 kB / 0.6209 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005358/0.6169, allocations: 1.672 MB / 0.6225 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.6171, allocations: 23.98 kB / 0.6225 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/0.6346, allocations: 7.854 MB / 0.6302 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6346, allocations: 0 / 0.6302 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/0.6489, allocations: 4.925 MB / 0.635 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.65, allocations: 255 kB / 0.6352 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.6503, allocations: 20 kB / 0.6353 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.6517, allocations: 131.9 kB / 0.6354 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006513/0.6524, allocations: 180.6 kB / 0.6356 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/0.6524, allocations: 31.98 kB / 0.6356 GB, free: 11.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001483/0.6539, allocations: 0.8434 MB / 0.6364 GB, free: 10.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.162e-06/0.654, allocations: 0 / 0.6364 GB, free: 10.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002185/0.6561, allocations: 471.8 kB / 0.6369 GB, free: 10.37 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.0004234/0.6566, allocations: 148.2 kB / 0.637 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008027/0.6646, allocations: 2.662 MB / 0.6396 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.6647, allocations: 0 / 0.6396 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004457/0.6691, allocations: 1.504 MB / 0.6411 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.6705, allocations: 107.8 kB / 0.6412 GB, free: 5.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.6756, allocations: 3.275 MB / 0.6444 GB, free: 2.645 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.6764, allocations: 1.113 MB / 0.6455 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006501/0.677, allocations: 120.7 kB / 0.6456 GB, free: 1.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.6774, allocations: 79.42 kB / 0.6456 GB, free: 1.301 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6774, allocations: 3.938 kB / 0.6457 GB, free: 1.297 MB / 446.1 MB Notification: Performance of Templates: time 0.03572/0.7131, allocations: 21.9 MB / 0.667 GB, free: 11.43 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: