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.0009799/0.0009802, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.363/1.363, allocations: 223.2 MB / 239.3 MB, free: 5.52 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.001053/0.001053, allocations: 175.5 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4871/0.4871, allocations: 78.54 MB / 420.3 MB, free: 4.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004306, allocations: 16 kB / 0.4888 GB, free: 5.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 69.35 MB / 0.5565 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.3053/0.4709, allocations: 5.877 MB / 0.5622 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.4742, allocations: 2.123 MB / 0.5643 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/0.4746, allocations: 8.75 kB / 0.5643 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.4751, allocations: 184.9 kB / 0.5645 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.4773, allocations: 1.062 MB / 0.5655 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.4781, allocations: 437.6 kB / 0.5659 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.4797, allocations: 1.746 MB / 0.5676 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.4801, allocations: 185.6 kB / 0.5678 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005895/0.4807, allocations: 0.6253 MB / 0.5684 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008986/0.4816, allocations: 0.8781 MB / 0.5693 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.4818, allocations: 80.31 kB / 0.5694 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.4823, allocations: 240.3 kB / 0.5696 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.4825, allocations: 311.2 kB / 0.5699 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.483, allocations: 0.6374 MB / 0.5705 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.4841, allocations: 1.627 MB / 0.5721 GB, free: 33.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4841, allocations: 0 / 0.5721 GB, free: 33.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4841, allocations: 0 / 0.5721 GB, free: 33.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.4841, allocations: 0 / 0.5721 GB, free: 33.15 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.01313/0.4973, allocations: 3.605 MB / 0.5756 GB, free: 32.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.4973, allocations: 10.06 kB / 0.5756 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/0.4975, allocations: 104.8 kB / 0.5757 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.5003, allocations: 0.4998 MB / 0.5762 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.5014, allocations: 0.8916 MB / 0.5771 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.5016, allocations: 238.2 kB / 0.5773 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.5018, allocations: 85.91 kB / 0.5774 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.5037, allocations: 0.945 MB / 0.5783 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.5037, allocations: 2.625 kB / 0.5783 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-05/0.5038, allocations: 22.34 kB / 0.5783 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5039, allocations: 14.94 kB / 0.5784 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.506, allocations: 1.067 MB / 0.5794 GB, free: 31.5 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.004076/0.5101, allocations: 2.959 MB / 0.5823 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.5128, allocations: 1.177 MB / 0.5834 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.5143, allocations: 0.7171 MB / 0.5841 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.5144, allocations: 19.44 kB / 0.5842 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.5144, allocations: 43.44 kB / 0.5842 GB, free: 29.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.565e-06/0.5144, allocations: 3.938 kB / 0.5842 GB, free: 29.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02903/0.5435, allocations: 7.699 MB / 0.5917 GB, free: 28.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.5436, allocations: 61.06 kB / 0.5918 GB, free: 28.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.5456, allocations: 1.147 MB / 0.5929 GB, free: 27.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.5458, allocations: 47.23 kB / 0.593 GB, free: 27.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.5461, allocations: 389.1 kB / 0.5933 GB, free: 27.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.5465, allocations: 368.8 kB / 0.5937 GB, free: 27.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.5467, allocations: 188.4 kB / 0.5939 GB, free: 27.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.5468, allocations: 305.1 kB / 0.5941 GB, free: 26.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.5487, allocations: 0.969 MB / 0.5951 GB, free: 26.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.5509, allocations: 0.9886 MB / 0.5961 GB, free: 26.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/0.5548, allocations: 1.917 MB / 0.5979 GB, free: 25.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5548, allocations: 4 kB / 0.5979 GB, free: 25.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007784/0.5626, allocations: 3.274 MB / 0.6011 GB, free: 24.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5626, allocations: 4.656 kB / 0.6011 GB, free: 24.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5626, allocations: 1.562 kB / 0.6011 GB, free: 24.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009502/0.5721, allocations: 2.529 MB / 0.6036 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.5737, allocations: 321.5 kB / 0.6039 GB, free: 23.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00597/0.5797, allocations: 2.459 MB / 0.6063 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.5818, allocations: 228.6 kB / 0.6065 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.5821, allocations: 59.72 kB / 0.6066 GB, free: 22.57 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.0006166/0.5827, allocations: 244.8 kB / 0.6068 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.583, allocations: 119.2 kB / 0.6069 GB, free: 22.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.5955, allocations: 3.916 MB / 0.6108 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.5956, allocations: 13.56 kB / 0.6108 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5956, allocations: 0.625 kB / 0.6108 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.5956, allocations: 6.516 kB / 0.6108 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.5975, allocations: 1.217 MB / 0.612 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.5975, allocations: 0 / 0.612 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/0.5982, allocations: 112.2 kB / 0.6121 GB, free: 20.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005168/0.6034, allocations: 1.682 MB / 0.6137 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.6035, allocations: 16 kB / 0.6137 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/0.6201, allocations: 7.837 MB / 0.6214 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6201, allocations: 0 / 0.6214 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.6321, allocations: 4.811 MB / 0.6261 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.6325, allocations: 240.2 kB / 0.6263 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.6328, allocations: 25.31 kB / 0.6263 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.6341, allocations: 107.9 kB / 0.6264 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004091/0.6345, allocations: 172.7 kB / 0.6266 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.435e-05/0.6346, allocations: 24 kB / 0.6266 GB, free: 5.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000956/0.6355, allocations: 0.7641 MB / 0.6274 GB, free: 4.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6355, allocations: 0 / 0.6274 GB, free: 4.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001399/0.6369, allocations: 443.7 kB / 0.6278 GB, free: 4.41 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.01215/0.6491, allocations: 5.238 MB / 0.6329 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00783/0.657, allocations: 2.55 MB / 0.6354 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.657, allocations: 0 / 0.6354 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004462/0.6615, allocations: 1.453 MB / 0.6368 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.6628, allocations: 89.36 kB / 0.6369 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/0.6916, allocations: 14.92 MB / 0.6515 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/0.6923, allocations: 1.058 MB / 0.6525 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000479/0.6928, allocations: 103.6 kB / 0.6526 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/0.6935, allocations: 423.6 kB / 0.653 GB, free: 10.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6935, allocations: 0 / 0.653 GB, free: 10.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05507/0.7486, allocations: 30.34 MB / 0.6826 GB, free: 12.32 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.7488, allocations: 253.3 kB / 0.6829 GB, free: 12.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.576, allocations: 3.75 kB / 0.6829 GB, free: 12.07 MB / 494.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)