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/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.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_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.001233/0.001233, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.398/1.398, allocations: 223.3 MB / 239.4 MB, free: 5.387 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.001367/0.001367, allocations: 172.5 kB / 290.6 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5321/0.5321, allocations: 91.93 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 8 kB / 0.5049 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3484, allocations: 72.47 MB / 0.5756 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005577/0.354, allocations: 7.982 MB / 0.5834 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003964/0.358, allocations: 2.62 MB / 0.586 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007182/0.3587, allocations: 13.03 kB / 0.586 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.3593, allocations: 238.6 kB / 0.5862 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.3614, allocations: 1.019 MB / 0.5872 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3625, allocations: 0.6438 MB / 0.5878 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.3644, allocations: 2.249 MB / 0.59 GB, free: 27.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.3648, allocations: 291.4 kB / 0.5903 GB, free: 27.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008698/0.3657, allocations: 0.8339 MB / 0.5911 GB, free: 26.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.3669, allocations: 1.205 MB / 0.5923 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003019/0.3672, allocations: 107.3 kB / 0.5924 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000649/0.3679, allocations: 271.6 kB / 0.5927 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.3682, allocations: 416.8 kB / 0.5931 GB, free: 26.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000691/0.3689, allocations: 0.8862 MB / 0.5939 GB, free: 25.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.3706, allocations: 2.189 MB / 0.5961 GB, free: 24.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3706, allocations: 1.312 kB / 0.5961 GB, free: 24.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3706, allocations: 0 / 0.5961 GB, free: 24.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.3707, allocations: 0 / 0.5961 GB, free: 24.79 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01553/0.3862, allocations: 3.917 MB / 0.5999 GB, free: 23.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.3863, allocations: 9.547 kB / 0.5999 GB, free: 23.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004301/0.3867, allocations: 138.2 kB / 0.6 GB, free: 23.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003974/0.3907, allocations: 0.573 MB / 0.6006 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.393, allocations: 1.215 MB / 0.6018 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.3932, allocations: 275.5 kB / 0.6021 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.3935, allocations: 115.4 kB / 0.6022 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.396, allocations: 1.139 MB / 0.6033 GB, free: 21.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.396, allocations: 4 kB / 0.6033 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3961, allocations: 35.06 kB / 0.6033 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.3962, allocations: 23.72 kB / 0.6033 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.3987, allocations: 1.236 MB / 0.6045 GB, free: 21.27 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.008194/0.4069, allocations: 4.646 MB / 0.6091 GB, free: 18.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.4101, allocations: 2.198 MB / 0.6112 GB, free: 17.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.4117, allocations: 0.8405 MB / 0.612 GB, free: 16.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.4118, allocations: 28.05 kB / 0.6121 GB, free: 16.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4119, allocations: 49.7 kB / 0.6121 GB, free: 16.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.827e-06/0.4119, allocations: 0 / 0.6121 GB, free: 16.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.03066/0.4425, allocations: 7.741 MB / 0.6197 GB, free: 14.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.4426, allocations: 70.16 kB / 0.6197 GB, free: 14.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/0.4453, allocations: 1.66 MB / 0.6214 GB, free: 13.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.4457, allocations: 59.77 kB / 0.6214 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.4461, allocations: 0.5515 MB / 0.622 GB, free: 13.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005275/0.4466, allocations: 0.4953 MB / 0.6224 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/0.447, allocations: 274.1 kB / 0.6227 GB, free: 12.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.115e-05/0.447, allocations: 301.1 kB / 0.623 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.4493, allocations: 1.191 MB / 0.6242 GB, free: 11.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.4514, allocations: 1.413 MB / 0.6255 GB, free: 10.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.4554, allocations: 2.436 MB / 0.6279 GB, free: 7.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4554, allocations: 0 / 0.6279 GB, free: 7.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008886/0.4643, allocations: 4.394 MB / 0.6322 GB, free: 3.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4644, allocations: 7.938 kB / 0.6322 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4644, allocations: 0 / 0.6322 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.4751, allocations: 3.073 MB / 0.6352 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/0.4776, allocations: 483.3 kB / 0.6357 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/0.4837, allocations: 2.695 MB / 0.6383 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/0.4868, allocations: 269.8 kB / 0.6386 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/0.487, allocations: 87.97 kB / 0.6387 GB, free: 12.58 MB / 446.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 (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.0006598/0.4877, allocations: 319.7 kB / 0.639 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.488, allocations: 169.8 kB / 0.6391 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.5006, allocations: 4.124 MB / 0.6431 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.5007, allocations: 16 kB / 0.6432 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.5007, allocations: 3.984 kB / 0.6432 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.71e-05/0.5007, allocations: 7.969 kB / 0.6432 GB, free: 7.922 MB / 446.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.0159/0.5166, allocations: 6.248 MB / 0.6493 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.5167, allocations: 4 kB / 0.6493 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.5179, allocations: 163.8 kB / 0.6494 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006184/0.5241, allocations: 1.699 MB / 0.6511 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/0.5243, allocations: 31.98 kB / 0.6511 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01959/0.5439, allocations: 7.805 MB / 0.6587 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.544, allocations: 0 / 0.6587 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.5592, allocations: 5.197 MB / 0.6638 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009261/0.5601, allocations: 314.8 kB / 0.6641 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005559/0.5607, allocations: 28 kB / 0.6641 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/0.5627, allocations: 103.9 kB / 0.6642 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006117/0.5634, allocations: 181.4 kB / 0.6644 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.5635, allocations: 39.98 kB / 0.6645 GB, free: 1.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001913/0.5654, allocations: 1.094 MB / 0.6655 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5654, allocations: 0 / 0.6655 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002083/0.5675, allocations: 0.5933 MB / 0.6661 GB, free: 92 kB / 462.1 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.01512/0.5826, allocations: 5.805 MB / 0.6718 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009122/0.5918, allocations: 3.179 MB / 0.6749 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5918, allocations: 0 / 0.6749 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004863/0.5967, allocations: 1.661 MB / 0.6765 GB, free: 5.391 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.5984, allocations: 121.6 kB / 0.6766 GB, free: 5.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04383/0.6423, allocations: 21.78 MB / 0.6979 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/0.6431, allocations: 1.23 MB / 0.6991 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006999/0.6439, allocations: 167.2 kB / 0.6993 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009721/0.6448, allocations: 0.6243 MB / 0.6999 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.6449, allocations: 0 / 0.6999 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/0.8, allocations: 41.12 MB / 0.74 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.8004, allocations: 255.9 kB / 0.7403 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/3.98, allocations: 0 / 0.7403 GB, free: 3.375 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)