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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_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.0008846/0.0008847, allocations: 100.5 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.29/1.29, allocations: 223.2 MB / 238.9 MB, free: 5.473 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.001124/0.001124, allocations: 181 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4459/0.4459, allocations: 79.44 MB / 420.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 12 kB / 0.4891 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3339, allocations: 69.5 MB / 0.557 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.004928/0.3388, allocations: 6.017 MB / 0.5628 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.3425, allocations: 2.222 MB / 0.565 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000611/0.3431, allocations: 12.78 kB / 0.565 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.3436, allocations: 179.8 kB / 0.5652 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.3455, allocations: 0.8431 MB / 0.566 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000934/0.3465, allocations: 494.4 kB / 0.5665 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.3481, allocations: 1.131 MB / 0.5676 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.3484, allocations: 215.4 kB / 0.5678 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007035/0.3491, allocations: 0.6371 MB / 0.5684 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008668/0.35, allocations: 0.89 MB / 0.5693 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3502, allocations: 81.72 kB / 0.5694 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/0.3508, allocations: 232.2 kB / 0.5696 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.351, allocations: 304.5 kB / 0.5699 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.3513, allocations: 238.6 kB / 0.5701 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.3525, allocations: 1.345 MB / 0.5714 GB, free: 34.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3525, allocations: 0 / 0.5714 GB, free: 34.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3526, allocations: 0.9375 kB / 0.5714 GB, free: 34.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.3526, allocations: 3.094 kB / 0.5714 GB, free: 34.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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01123/0.3638, allocations: 3.195 MB / 0.5745 GB, free: 33.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3639, allocations: 8.625 kB / 0.5745 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002655/0.3642, allocations: 125.7 kB / 0.5747 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.3672, allocations: 0.5224 MB / 0.5752 GB, free: 33.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.3687, allocations: 0.9198 MB / 0.5761 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.3689, allocations: 248.2 kB / 0.5763 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.3691, allocations: 93.66 kB / 0.5764 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.371, allocations: 1.034 MB / 0.5774 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.371, allocations: 1.875 kB / 0.5774 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/0.3711, allocations: 33.83 kB / 0.5774 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3712, allocations: 18.19 kB / 0.5775 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.3734, allocations: 1.173 MB / 0.5786 GB, free: 32.02 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.005599/0.379, allocations: 3.908 MB / 0.5824 GB, free: 29.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.3817, allocations: 1.742 MB / 0.5841 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-05/0.3819, allocations: 19.61 kB / 0.5841 GB, free: 28.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.3819, allocations: 49.06 kB / 0.5842 GB, free: 28.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.605e-06/0.3819, allocations: 0 / 0.5842 GB, free: 28.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02219/0.4041, allocations: 6.586 MB / 0.5906 GB, free: 27.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4041, allocations: 66.56 kB / 0.5907 GB, free: 27.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.4059, allocations: 1.262 MB / 0.5919 GB, free: 26.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002208/0.4061, allocations: 51.55 kB / 0.592 GB, free: 26.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.4064, allocations: 474.2 kB / 0.5924 GB, free: 26.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.4068, allocations: 395.2 kB / 0.5928 GB, free: 26.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.4069, allocations: 40.41 kB / 0.5928 GB, free: 26.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.407, allocations: 383.7 kB / 0.5932 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.4091, allocations: 0.9928 MB / 0.5942 GB, free: 25.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.4113, allocations: 1.155 MB / 0.5953 GB, free: 24.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.4133, allocations: 1.083 MB / 0.5964 GB, free: 24.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4134, allocations: 1.969 kB / 0.5964 GB, free: 24.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00634/0.4197, allocations: 3.142 MB / 0.5994 GB, free: 23.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4197, allocations: 6.656 kB / 0.5994 GB, free: 23.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4198, allocations: 2.281 kB / 0.5994 GB, free: 23.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009217/0.429, allocations: 2.528 MB / 0.6019 GB, free: 22.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.4307, allocations: 358.4 kB / 0.6022 GB, free: 22.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005154/0.4359, allocations: 2.462 MB / 0.6046 GB, free: 21.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.438, allocations: 253.7 kB / 0.6049 GB, free: 21.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.4382, allocations: 73.98 kB / 0.605 GB, free: 21.43 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 (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.0004517/0.4386, allocations: 260.6 kB / 0.6052 GB, free: 21.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.4389, allocations: 132.8 kB / 0.6053 GB, free: 21.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.4506, allocations: 3.968 MB / 0.6092 GB, free: 20.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.4506, allocations: 13.98 kB / 0.6092 GB, free: 20.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4506, allocations: 0.875 kB / 0.6092 GB, free: 20.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.4507, allocations: 6.297 kB / 0.6092 GB, free: 20.22 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.0131/0.4638, allocations: 5.662 MB / 0.6148 GB, free: 17.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.4638, allocations: 0 / 0.6148 GB, free: 17.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.4646, allocations: 139.8 kB / 0.6149 GB, free: 17.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005051/0.4696, allocations: 1.67 MB / 0.6165 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.4698, allocations: 24.69 kB / 0.6165 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.4866, allocations: 8.214 MB / 0.6246 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4866, allocations: 2.062 kB / 0.6246 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/0.4987, allocations: 4.914 MB / 0.6294 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/0.4993, allocations: 255.1 kB / 0.6296 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.4995, allocations: 24.62 kB / 0.6296 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.5007, allocations: 119.9 kB / 0.6298 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/0.5012, allocations: 180.7 kB / 0.6299 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.5013, allocations: 28 kB / 0.63 GB, free: 1.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009134/0.5022, allocations: 0.8395 MB / 0.6308 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5022, allocations: 4 kB / 0.6308 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001123/0.5033, allocations: 483.6 kB / 0.6312 GB, free: 248 kB / 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 (71): * Single equations (assignments): 70 * 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.01295/0.5163, allocations: 5.361 MB / 0.6365 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007358/0.5237, allocations: 2.648 MB / 0.6391 GB, free: 8.199 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5237, allocations: 4 kB / 0.6391 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004242/0.528, allocations: 1.493 MB / 0.6405 GB, free: 6.699 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008416/0.5288, allocations: 86.61 kB / 0.6406 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/0.5351, allocations: 4.663 MB / 0.6452 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/0.5358, allocations: 1.14 MB / 0.6463 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004983/0.5363, allocations: 125.5 kB / 0.6464 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006649/0.537, allocations: 495.3 kB / 0.6469 GB, free: 196 kB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.537, allocations: 0 / 0.6469 GB, free: 196 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07279/0.6098, allocations: 31.7 MB / 0.6778 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.61, allocations: 231.5 kB / 0.678 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.115, allocations: 1.969 kB / 0.678 GB, free: 0.6641 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: