Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.297/1.297, allocations: 223.2 MB / 238.9 MB, free: 5.625 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.001038/0.001038, allocations: 189 kB / 290.2 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4534/0.4534, allocations: 79.46 MB / 420.7 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 16 kB / 0.4891 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3148, allocations: 69.5 MB / 0.557 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004501/0.3193, allocations: 5.309 MB / 0.5621 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.3227, allocations: 2.033 MB / 0.5641 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005195/0.3232, allocations: 10.34 kB / 0.5641 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.3236, allocations: 157.1 kB / 0.5643 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.3253, allocations: 0.7718 MB / 0.565 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.3262, allocations: 483.6 kB / 0.5655 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.3275, allocations: 1.008 MB / 0.5665 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.3278, allocations: 175.2 kB / 0.5667 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005161/0.3283, allocations: 0.573 MB / 0.5672 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007653/0.3291, allocations: 0.8188 MB / 0.568 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.3293, allocations: 77.31 kB / 0.5681 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.3297, allocations: 215.2 kB / 0.5683 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.3299, allocations: 292 kB / 0.5686 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.3301, allocations: 205.7 kB / 0.5688 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009744/0.3311, allocations: 1.22 MB / 0.57 GB, free: 35.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.3311, allocations: 0 / 0.57 GB, free: 35.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3311, allocations: 0.6562 kB / 0.57 GB, free: 35.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.3311, allocations: 1.188 kB / 0.57 GB, free: 35.92 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01088/0.342, allocations: 3.033 MB / 0.5729 GB, free: 34.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3421, allocations: 9.625 kB / 0.5729 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000296/0.3424, allocations: 113 kB / 0.573 GB, free: 34.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.3454, allocations: 0.5011 MB / 0.5735 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.3468, allocations: 0.8509 MB / 0.5744 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.347, allocations: 240.8 kB / 0.5746 GB, free: 33.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.3472, allocations: 87.25 kB / 0.5747 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.3491, allocations: 0.9417 MB / 0.5756 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.3492, allocations: 0.7969 kB / 0.5756 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3493, allocations: 22.95 kB / 0.5756 GB, free: 33.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.3493, allocations: 16.75 kB / 0.5756 GB, free: 33.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002632/0.352, allocations: 1.06 MB / 0.5767 GB, free: 33.28 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.00468/0.3567, allocations: 2.958 MB / 0.5796 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.3593, allocations: 1.168 MB / 0.5807 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.524e-05/0.3594, allocations: 18.3 kB / 0.5807 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3595, allocations: 42.34 kB / 0.5808 GB, free: 31.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.106e-06/0.3595, allocations: 0 / 0.5808 GB, free: 31.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.027/0.3865, allocations: 7.654 MB / 0.5882 GB, free: 29.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3866, allocations: 65.31 kB / 0.5883 GB, free: 29.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.3882, allocations: 1.13 MB / 0.5894 GB, free: 29.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.3885, allocations: 50.45 kB / 0.5894 GB, free: 29.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.3887, allocations: 390.3 kB / 0.5898 GB, free: 28.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.3891, allocations: 359.4 kB / 0.5902 GB, free: 28.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3892, allocations: 39.78 kB / 0.5902 GB, free: 28.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3893, allocations: 377.1 kB / 0.5906 GB, free: 28.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.3912, allocations: 0.953 MB / 0.5915 GB, free: 27.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.3931, allocations: 0.978 MB / 0.5924 GB, free: 27.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.3951, allocations: 1.027 MB / 0.5934 GB, free: 27.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3951, allocations: 0 / 0.5934 GB, free: 27.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007059/0.4022, allocations: 3.27 MB / 0.5966 GB, free: 25.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4022, allocations: 5.75 kB / 0.5966 GB, free: 25.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4023, allocations: 0.6875 kB / 0.5966 GB, free: 25.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009309/0.4116, allocations: 2.536 MB / 0.5991 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.4133, allocations: 324.2 kB / 0.5994 GB, free: 25.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/0.4185, allocations: 2.458 MB / 0.6018 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.4208, allocations: 228.4 kB / 0.6021 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.421, allocations: 67.17 kB / 0.6021 GB, free: 24.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0004961/0.4215, allocations: 244.4 kB / 0.6023 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.4217, allocations: 112.7 kB / 0.6025 GB, free: 23.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.4335, allocations: 3.921 MB / 0.6063 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.4336, allocations: 10.16 kB / 0.6063 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.4336, allocations: 0.5 kB / 0.6063 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/0.4336, allocations: 6.016 kB / 0.6063 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.4357, allocations: 1.206 MB / 0.6075 GB, free: 22.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4357, allocations: 1.656 kB / 0.6075 GB, free: 22.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.4364, allocations: 117.9 kB / 0.6076 GB, free: 22.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005617/0.4421, allocations: 1.681 MB / 0.6092 GB, free: 22.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.4422, allocations: 20.83 kB / 0.6093 GB, free: 22.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/0.46, allocations: 8.199 MB / 0.6173 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4601, allocations: 0 / 0.6173 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.472, allocations: 4.789 MB / 0.6219 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.4725, allocations: 236.2 kB / 0.6222 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.4727, allocations: 20 kB / 0.6222 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.4739, allocations: 115.9 kB / 0.6223 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000458/0.4743, allocations: 180.4 kB / 0.6225 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/0.4744, allocations: 24.62 kB / 0.6225 GB, free: 9.422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008543/0.4753, allocations: 0.7563 MB / 0.6232 GB, free: 8.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4753, allocations: 4 kB / 0.6232 GB, free: 8.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001165/0.4764, allocations: 435.6 kB / 0.6236 GB, free: 8.227 MB / 430.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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01196/0.4884, allocations: 5.23 MB / 0.6288 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00651/0.495, allocations: 2.559 MB / 0.6313 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.495, allocations: 0 / 0.6313 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004201/0.4992, allocations: 1.439 MB / 0.6327 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.5, allocations: 77.33 kB / 0.6327 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/0.5056, allocations: 3.428 MB / 0.6361 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.5061, allocations: 1.085 MB / 0.6371 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004394/0.5066, allocations: 107.6 kB / 0.6372 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/0.5072, allocations: 419.3 kB / 0.6376 GB, free: 9.875 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5072, allocations: 0 / 0.6376 GB, free: 9.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/0.5559, allocations: 29.47 MB / 0.6664 GB, free: 12.8 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.5561, allocations: 241.5 kB / 0.6666 GB, free: 12.56 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.079, allocations: 0 / 0.6666 GB, free: 12.56 MB / 478.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) Environment - environmentSimulation: