Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 183.4 kB / 15.98 MB, free: 5.77 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.333/1.333, allocations: 222.9 MB / 239.7 MB, free: 10.98 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.0009801/0.0009801, allocations: 113.9 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3934/0.3934, allocations: 78.47 MB / 418.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.89 kB / 497.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2338, allocations: 68.13 MB / 0.5523 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.00559/0.2394, allocations: 8.471 MB / 0.5606 GB, free: 11.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.2425, allocations: 2.655 MB / 0.5632 GB, free: 9.031 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.2429, allocations: 15.94 kB / 0.5632 GB, free: 9.016 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.2433, allocations: 234.5 kB / 0.5634 GB, free: 8.785 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.2457, allocations: 1.37 MB / 0.5647 GB, free: 7.426 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/0.2464, allocations: 0.5418 MB / 0.5653 GB, free: 6.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.2479, allocations: 2.457 MB / 0.5677 GB, free: 4.418 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.2482, allocations: 303.2 kB / 0.568 GB, free: 4.105 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.2488, allocations: 0.9065 MB / 0.5688 GB, free: 3.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008737/0.2497, allocations: 1.264 MB / 0.5701 GB, free: 1.926 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.2499, allocations: 120 kB / 0.5702 GB, free: 1.809 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.2504, allocations: 287.8 kB / 0.5705 GB, free: 1.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.2506, allocations: 450 kB / 0.5709 GB, free: 1.086 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.2511, allocations: 0.897 MB / 0.5718 GB, free: 188 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.2528, allocations: 2.281 MB / 0.574 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2528, allocations: 7.984 kB / 0.574 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.2528, allocations: 0 / 0.574 GB, free: 13.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.2528, allocations: 0 / 0.574 GB, free: 13.89 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01891/0.2718, allocations: 4.945 MB / 0.5788 GB, free: 8.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2718, allocations: 11.97 kB / 0.5789 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.2749, allocations: 0.5721 MB / 0.5794 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.2767, allocations: 1.224 MB / 0.5806 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.2769, allocations: 268.8 kB / 0.5809 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.2771, allocations: 112 kB / 0.581 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.2792, allocations: 1.089 MB / 0.582 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2792, allocations: 0 / 0.582 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/0.2793, allocations: 36 kB / 0.5821 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.2793, allocations: 20 kB / 0.5821 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.2816, allocations: 1.175 MB / 0.5832 GB, free: 4.289 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.006497/0.2881, allocations: 4.629 MB / 0.5878 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.2912, allocations: 2.139 MB / 0.5898 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.2927, allocations: 0.8012 MB / 0.5906 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.2928, allocations: 17.3 kB / 0.5906 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.2928, allocations: 47.86 kB / 0.5907 GB, free: 12.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 5.48e-06/0.2928, allocations: 0 / 0.5907 GB, free: 12.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=130): time 0.02676/0.3196, allocations: 6.695 MB / 0.5972 GB, free: 5.492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3197, allocations: 64.72 kB / 0.5973 GB, free: 5.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.3219, allocations: 1.655 MB / 0.5989 GB, free: 3.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.3221, allocations: 61.7 kB / 0.599 GB, free: 3.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.3225, allocations: 0.5535 MB / 0.5995 GB, free: 3.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.323, allocations: 0.4932 MB / 0.6 GB, free: 2.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000785/0.3238, allocations: 0.5055 MB / 0.6005 GB, free: 2.113 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.3239, allocations: 313.1 kB / 0.6008 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.326, allocations: 1.145 MB / 0.6019 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.3282, allocations: 1.357 MB / 0.6032 GB, free: 15.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004129/0.3324, allocations: 2.338 MB / 0.6055 GB, free: 12.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3324, allocations: 4 kB / 0.6055 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008862/0.3413, allocations: 4.09 MB / 0.6095 GB, free: 8.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3413, allocations: 4 kB / 0.6095 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3413, allocations: 7.984 kB / 0.6095 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/0.352, allocations: 2.819 MB / 0.6123 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.3543, allocations: 479.3 kB / 0.6127 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.3597, allocations: 2.527 MB / 0.6152 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.3623, allocations: 241.9 kB / 0.6154 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.3625, allocations: 99.95 kB / 0.6155 GB, free: 2.566 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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0005262/0.363, allocations: 309.3 kB / 0.6158 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.3633, allocations: 165.8 kB / 0.616 GB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.3742, allocations: 3.546 MB / 0.6194 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.3742, allocations: 12 kB / 0.6194 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3742, allocations: 3.984 kB / 0.6194 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.3742, allocations: 7.969 kB / 0.6195 GB, free: 14.5 MB / 442.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.01334/0.3876, allocations: 5.674 MB / 0.625 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.3876, allocations: 0 / 0.625 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.3887, allocations: 167.7 kB / 0.6252 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005351/0.394, allocations: 1.48 MB / 0.6266 GB, free: 7.016 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.3941, allocations: 35.92 kB / 0.6266 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/0.4114, allocations: 7.176 MB / 0.6336 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.4115, allocations: 3.984 kB / 0.6336 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08895/0.5004, allocations: 33.12 MB / 0.666 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.5008, allocations: 302.7 kB / 0.6663 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.501, allocations: 28 kB / 0.6663 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.5025, allocations: 79.92 kB / 0.6664 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005452/0.503, allocations: 185.4 kB / 0.6666 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-05/0.5031, allocations: 35.98 kB / 0.6666 GB, free: 13.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00141/0.5045, allocations: 1.094 MB / 0.6677 GB, free: 12.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5045, allocations: 3.938 kB / 0.6677 GB, free: 12.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001883/0.5064, allocations: 0.8513 MB / 0.6685 GB, free: 11.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.5067, allocations: 159.5 kB / 0.6687 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007633/0.5143, allocations: 2.968 MB / 0.6716 GB, free: 8.469 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5144, allocations: 0 / 0.6716 GB, free: 8.469 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004379/0.5187, allocations: 1.508 MB / 0.673 GB, free: 6.938 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5198, allocations: 132.8 kB / 0.6732 GB, free: 6.809 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009731/0.5296, allocations: 5.475 MB / 0.6785 GB, free: 1.289 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.188/0.7176, allocations: 1.288 MB / 0.6798 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001065/0.7186, allocations: 176.5 kB / 0.6799 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005622/0.7192, allocations: 110.7 kB / 0.68 GB, free: 114.2 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/0.7192, allocations: 0.5312 kB / 0.68 GB, free: 114.2 MB / 490.7 MB Notification: Performance of Templates: time 0.07924/0.7985, allocations: 41.01 MB / 0.7201 GB, free: 86.62 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)