Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_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.001196/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.371/1.371, allocations: 222.9 MB / 238.8 MB, free: 4.75 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.00155/0.00155, allocations: 200.2 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4672/0.4672, allocations: 78.52 MB / 417.8 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 79.88 kB / 496.8 MB, free: 6.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1407, allocations: 68.18 MB / 0.5518 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2754/0.4162, allocations: 6.337 MB / 0.558 GB, free: 36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004252/0.4205, allocations: 2.142 MB / 0.5601 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007946/0.4213, allocations: 10.75 kB / 0.5601 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.422, allocations: 180.4 kB / 0.5602 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.4245, allocations: 1.074 MB / 0.5613 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.4255, allocations: 443.8 kB / 0.5617 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.4274, allocations: 1.749 MB / 0.5634 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.4277, allocations: 185.8 kB / 0.5636 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/0.4285, allocations: 0.6458 MB / 0.5642 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008347/0.4293, allocations: 0.8873 MB / 0.5651 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.4295, allocations: 88.69 kB / 0.5652 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006005/0.4301, allocations: 243.8 kB / 0.5654 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.4303, allocations: 316.3 kB / 0.5657 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004698/0.4308, allocations: 0.633 MB / 0.5663 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.432, allocations: 1.655 MB / 0.568 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.432, allocations: 3.375 kB / 0.568 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.432, allocations: 0.5312 kB / 0.568 GB, free: 34.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.432, allocations: 0 / 0.568 GB, free: 34.04 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.01454/0.4466, allocations: 3.714 MB / 0.5716 GB, free: 33.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4467, allocations: 10.59 kB / 0.5716 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.4468, allocations: 110.3 kB / 0.5717 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/0.4497, allocations: 499 kB / 0.5722 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.451, allocations: 0.9027 MB / 0.5731 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/0.4513, allocations: 226.1 kB / 0.5733 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.4514, allocations: 79.75 kB / 0.5734 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.4531, allocations: 0.8925 MB / 0.5742 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4532, allocations: 0 / 0.5742 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.4532, allocations: 24.72 kB / 0.5742 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.4533, allocations: 15.97 kB / 0.5743 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.4553, allocations: 0.9877 MB / 0.5752 GB, free: 32.39 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.004422/0.4597, allocations: 2.939 MB / 0.5781 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.4623, allocations: 1.094 MB / 0.5792 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.4635, allocations: 0.6595 MB / 0.5798 GB, free: 30.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.4637, allocations: 19.42 kB / 0.5798 GB, free: 30.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.4637, allocations: 48.53 kB / 0.5799 GB, free: 30.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.316e-06/0.4637, allocations: 0 / 0.5799 GB, free: 30.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02618/0.4899, allocations: 6.484 MB / 0.5862 GB, free: 29.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.49, allocations: 62.06 kB / 0.5863 GB, free: 29.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/0.4927, allocations: 1.143 MB / 0.5874 GB, free: 29.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003309/0.493, allocations: 46.27 kB / 0.5874 GB, free: 29.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.4935, allocations: 390.2 kB / 0.5878 GB, free: 28.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006034/0.4941, allocations: 367.8 kB / 0.5881 GB, free: 28.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/0.4954, allocations: 364.6 kB / 0.5885 GB, free: 28.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.4955, allocations: 311 kB / 0.5888 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.4977, allocations: 0.9037 MB / 0.5897 GB, free: 27.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.4999, allocations: 0.9348 MB / 0.5906 GB, free: 27.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00381/0.5037, allocations: 1.811 MB / 0.5924 GB, free: 26.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.5038, allocations: 4 kB / 0.5924 GB, free: 26.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007402/0.5112, allocations: 3.04 MB / 0.5953 GB, free: 25.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.5112, allocations: 5.609 kB / 0.5953 GB, free: 25.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.5112, allocations: 1.781 kB / 0.5953 GB, free: 25.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009203/0.5205, allocations: 2.276 MB / 0.5976 GB, free: 24.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.5223, allocations: 320.8 kB / 0.5979 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/0.5276, allocations: 2.264 MB / 0.6001 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.53, allocations: 195.6 kB / 0.6003 GB, free: 23.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/0.5304, allocations: 63.5 kB / 0.6003 GB, free: 23.7 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 (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.0007125/0.5311, allocations: 245 kB / 0.6006 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/0.5315, allocations: 119.5 kB / 0.6007 GB, free: 23.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/0.5429, allocations: 3.3 MB / 0.6039 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.543, allocations: 14.59 kB / 0.6039 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.543, allocations: 0.5156 kB / 0.6039 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.137e-05/0.543, allocations: 4.781 kB / 0.6039 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.5455, allocations: 1.207 MB / 0.6051 GB, free: 22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.5456, allocations: 3.938 kB / 0.6051 GB, free: 22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.5464, allocations: 111.5 kB / 0.6052 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005505/0.5519, allocations: 1.448 MB / 0.6066 GB, free: 21.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/0.5521, allocations: 21.61 kB / 0.6066 GB, free: 21.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/0.5688, allocations: 7.142 MB / 0.6136 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5688, allocations: 0 / 0.6136 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.5804, allocations: 4.139 MB / 0.6177 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/0.581, allocations: 231.4 kB / 0.6179 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/0.5815, allocations: 17.12 kB / 0.6179 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.583, allocations: 87.91 kB / 0.618 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006271/0.5836, allocations: 168.7 kB / 0.6181 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.5838, allocations: 27.98 kB / 0.6182 GB, free: 11.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001129/0.5849, allocations: 0.7602 MB / 0.6189 GB, free: 10.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5849, allocations: 0 / 0.6189 GB, free: 10.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001681/0.5866, allocations: 439.8 kB / 0.6193 GB, free: 10.07 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 (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.0111/0.5977, allocations: 4.604 MB / 0.6238 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006904/0.6047, allocations: 2.342 MB / 0.6261 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6047, allocations: 1.031 kB / 0.6261 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003911/0.6087, allocations: 1.291 MB / 0.6274 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.6104, allocations: 89.67 kB / 0.6275 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03047/0.6408, allocations: 14.31 MB / 0.6414 GB, free: 3.121 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.6417, allocations: 1.058 MB / 0.6425 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006109/0.6423, allocations: 108.8 kB / 0.6426 GB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007562/0.6431, allocations: 421.4 kB / 0.643 GB, free: 1.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.933e-06/0.6431, allocations: 3.938 kB / 0.643 GB, free: 1.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05852/0.7016, allocations: 30.85 MB / 0.6731 GB, free: 3.074 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.7019, allocations: 257.9 kB / 0.6733 GB, free: 2.816 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/3.692, allocations: 0 / 0.6733 GB, free: 2.816 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)