Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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.000868/0.0008677, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.337/1.337, allocations: 223.3 MB / 239 MB, free: 5.613 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.001232/0.001232, allocations: 172.6 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4687/0.4687, allocations: 78.55 MB / 419.9 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 12 kB / 499.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 69.36 MB / 0.5559 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2884/0.4388, allocations: 7.424 MB / 0.5631 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005142/0.444, allocations: 2.528 MB / 0.5656 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.4454, allocations: 13.94 kB / 0.5656 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006915/0.4461, allocations: 204 kB / 0.5658 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.4497, allocations: 1.26 MB / 0.567 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.4509, allocations: 0.5099 MB / 0.5675 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002966/0.4539, allocations: 2.25 MB / 0.5697 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/0.4544, allocations: 268.1 kB / 0.57 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.4556, allocations: 0.8522 MB / 0.5708 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.4568, allocations: 1.217 MB / 0.572 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.457, allocations: 109.1 kB / 0.5721 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006596/0.4577, allocations: 272.2 kB / 0.5724 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.4579, allocations: 423 kB / 0.5728 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.4582, allocations: 287.4 kB / 0.5731 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.4595, allocations: 1.746 MB / 0.5748 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4595, allocations: 1.094 kB / 0.5748 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4596, allocations: 0 / 0.5748 GB, free: 33.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.4596, allocations: 0 / 0.5748 GB, free: 33.73 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.0164/0.476, allocations: 4.794 MB / 0.5794 GB, free: 32.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4761, allocations: 8.688 kB / 0.5795 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004439/0.4765, allocations: 140.5 kB / 0.5796 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/0.4799, allocations: 0.5739 MB / 0.5801 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.4817, allocations: 1.161 MB / 0.5813 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.482, allocations: 282.4 kB / 0.5816 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.4821, allocations: 113.8 kB / 0.5817 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.484, allocations: 1.133 MB / 0.5828 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4841, allocations: 3.938 kB / 0.5828 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/0.4842, allocations: 36.75 kB / 0.5828 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.4842, allocations: 25.42 kB / 0.5828 GB, free: 30.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.4864, allocations: 1.224 MB / 0.584 GB, free: 30.21 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.006594/0.493, allocations: 4.639 MB / 0.5886 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.4961, allocations: 2.19 MB / 0.5907 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.4976, allocations: 0.8405 MB / 0.5915 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.4977, allocations: 18.23 kB / 0.5915 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.4978, allocations: 49.5 kB / 0.5916 GB, free: 25.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.367e-06/0.4978, allocations: 0 / 0.5916 GB, free: 25.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02669/0.5245, allocations: 7.691 MB / 0.5991 GB, free: 24.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.5245, allocations: 68.95 kB / 0.5992 GB, free: 24.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.5283, allocations: 1.644 MB / 0.6008 GB, free: 23.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004203/0.5288, allocations: 62.73 kB / 0.6008 GB, free: 23.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.5294, allocations: 0.551 MB / 0.6014 GB, free: 22.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007296/0.5301, allocations: 499.4 kB / 0.6018 GB, free: 22.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.5306, allocations: 58.88 kB / 0.6019 GB, free: 22.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.5308, allocations: 407 kB / 0.6023 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.5333, allocations: 1.18 MB / 0.6034 GB, free: 21.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/0.5358, allocations: 1.399 MB / 0.6048 GB, free: 21.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/0.5385, allocations: 1.306 MB / 0.6061 GB, free: 20.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/0.5385, allocations: 0 / 0.6061 GB, free: 20.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009628/0.5481, allocations: 4.27 MB / 0.6102 GB, free: 18.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.5482, allocations: 6.094 kB / 0.6102 GB, free: 18.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.5482, allocations: 9.422 kB / 0.6103 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.559, allocations: 3.075 MB / 0.6133 GB, free: 18.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.5616, allocations: 488 kB / 0.6137 GB, free: 18.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005554/0.5672, allocations: 2.693 MB / 0.6164 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/0.5703, allocations: 274.4 kB / 0.6166 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004824/0.5708, allocations: 95.97 kB / 0.6167 GB, free: 15.53 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 (281): * Single equations (assignments): 280 * 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 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.001087/0.5719, allocations: 305.4 kB / 0.617 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006358/0.5726, allocations: 165.9 kB / 0.6172 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009905/0.5825, allocations: 4.129 MB / 0.6212 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.5825, allocations: 16.56 kB / 0.6212 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.5825, allocations: 1 kB / 0.6212 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.5826, allocations: 7.969 kB / 0.6212 GB, free: 10.89 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.01189/0.5945, allocations: 6.229 MB / 0.6273 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5945, allocations: 0 / 0.6273 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009165/0.5954, allocations: 163.8 kB / 0.6275 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004621/0.6001, allocations: 1.705 MB / 0.6291 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/0.6003, allocations: 28 kB / 0.6291 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/0.6172, allocations: 7.789 MB / 0.6368 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6172, allocations: 7.938 kB / 0.6368 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.63, allocations: 5.178 MB / 0.6418 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007908/0.6308, allocations: 310.8 kB / 0.6421 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004973/0.6313, allocations: 24 kB / 0.6421 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.6329, allocations: 103.9 kB / 0.6422 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005533/0.6335, allocations: 195.3 kB / 0.6424 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.6336, allocations: 39.98 kB / 0.6425 GB, free: 4.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001836/0.6354, allocations: 1.075 MB / 0.6435 GB, free: 3.715 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6354, allocations: 4 kB / 0.6435 GB, free: 3.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002037/0.6375, allocations: 0.5905 MB / 0.6441 GB, free: 3.121 MB / 446.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 (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 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01269/0.6502, allocations: 5.774 MB / 0.6497 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008341/0.6586, allocations: 3.167 MB / 0.6528 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6586, allocations: 0 / 0.6528 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00418/0.6628, allocations: 1.65 MB / 0.6544 GB, free: 8.484 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.6646, allocations: 131.9 kB / 0.6546 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/0.6966, allocations: 15.48 MB / 0.6697 GB, free: 8.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.6977, allocations: 1.234 MB / 0.6709 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.6988, allocations: 160.4 kB / 0.671 GB, free: 6.891 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/0.7, allocations: 0.6281 MB / 0.6716 GB, free: 6.262 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7001, allocations: 0 / 0.6716 GB, free: 6.262 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07759/0.7776, allocations: 41.94 MB / 0.7126 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.7779, allocations: 247.6 kB / 0.7128 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/3.939, allocations: 3.625 kB / 0.7128 GB, free: 12.45 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: