Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.492/1.492, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001363/0.001363, allocations: 184.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6514/0.6514, allocations: 91.89 MB / 431.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 79.86 kB / 0.5013 GB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.5004, allocations: 71.26 MB / 0.5709 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006362/0.5068, allocations: 6.369 MB / 0.5771 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00363/0.5105, allocations: 2.126 MB / 0.5792 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004153/0.5109, allocations: 13.97 kB / 0.5792 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004988/0.5114, allocations: 184.2 kB / 0.5794 GB, free: 31.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.5131, allocations: 0.8012 MB / 0.5802 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.5141, allocations: 0.5194 MB / 0.5807 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.5154, allocations: 1.587 MB / 0.5822 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.5157, allocations: 187.5 kB / 0.5824 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/0.5163, allocations: 0.6028 MB / 0.583 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.5171, allocations: 0.8657 MB / 0.5838 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.5173, allocations: 83.97 kB / 0.5839 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005018/0.5178, allocations: 249.5 kB / 0.5842 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.518, allocations: 306.2 kB / 0.5845 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.5185, allocations: 0.6233 MB / 0.5851 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.5198, allocations: 1.622 MB / 0.5866 GB, free: 27.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.5198, allocations: 3.844 kB / 0.5866 GB, free: 27.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5198, allocations: 2.906 kB / 0.5867 GB, free: 27.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5198, allocations: 0 / 0.5867 GB, free: 27.78 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.01155/0.5314, allocations: 3.131 MB / 0.5897 GB, free: 26.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.5314, allocations: 9.719 kB / 0.5897 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.5316, allocations: 116.2 kB / 0.5898 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.5346, allocations: 499.1 kB / 0.5903 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.536, allocations: 0.9046 MB / 0.5912 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.5363, allocations: 228.6 kB / 0.5914 GB, free: 25.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.5365, allocations: 81.19 kB / 0.5915 GB, free: 25.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.5385, allocations: 0.8881 MB / 0.5924 GB, free: 25.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.5385, allocations: 0 / 0.5924 GB, free: 25.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.5386, allocations: 25.22 kB / 0.5924 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5386, allocations: 14.75 kB / 0.5924 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.541, allocations: 0.987 MB / 0.5934 GB, free: 24.88 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.005421/0.5464, allocations: 2.939 MB / 0.5962 GB, free: 23.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.5496, allocations: 1.091 MB / 0.5973 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.551, allocations: 0.6631 MB / 0.5979 GB, free: 22.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.5512, allocations: 21.08 kB / 0.598 GB, free: 22.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.5512, allocations: 38.94 kB / 0.598 GB, free: 22.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.296e-06/0.5512, allocations: 1.312 kB / 0.598 GB, free: 22.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02905/0.5803, allocations: 6.487 MB / 0.6043 GB, free: 21.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.5804, allocations: 65.34 kB / 0.6044 GB, free: 21.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.5833, allocations: 1.139 MB / 0.6055 GB, free: 20.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003287/0.5836, allocations: 51.38 kB / 0.6056 GB, free: 20.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.5841, allocations: 385.4 kB / 0.6059 GB, free: 20.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005843/0.5847, allocations: 364.4 kB / 0.6063 GB, free: 20.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.5859, allocations: 363.9 kB / 0.6066 GB, free: 19.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.586, allocations: 311.1 kB / 0.6069 GB, free: 19.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.5883, allocations: 0.9072 MB / 0.6078 GB, free: 19.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.5906, allocations: 0.9315 MB / 0.6087 GB, free: 18.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/0.595, allocations: 1.808 MB / 0.6105 GB, free: 18.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.595, allocations: 0.7031 kB / 0.6105 GB, free: 18.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008161/0.6032, allocations: 3.049 MB / 0.6135 GB, free: 16.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.6032, allocations: 9.156 kB / 0.6135 GB, free: 16.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6032, allocations: 0.75 kB / 0.6135 GB, free: 16.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009947/0.6132, allocations: 2.271 MB / 0.6157 GB, free: 16.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.6151, allocations: 323.7 kB / 0.616 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005165/0.6203, allocations: 2.274 MB / 0.6182 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.6229, allocations: 206.4 kB / 0.6184 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/0.6233, allocations: 59.98 kB / 0.6185 GB, free: 13.8 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.0007964/0.6241, allocations: 249.5 kB / 0.6187 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005643/0.6247, allocations: 118.4 kB / 0.6188 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009853/0.6345, allocations: 3.301 MB / 0.622 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.6346, allocations: 11.94 kB / 0.622 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6346, allocations: 4 kB / 0.6221 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.6346, allocations: 7.984 kB / 0.6221 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.6363, allocations: 1.206 MB / 0.6232 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.6364, allocations: 0 / 0.6232 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006964/0.6371, allocations: 115.8 kB / 0.6233 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004836/0.6419, allocations: 1.438 MB / 0.6248 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.6421, allocations: 24 kB / 0.6248 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01647/0.6585, allocations: 7.133 MB / 0.6317 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6586, allocations: 7.938 kB / 0.6318 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.6713, allocations: 4.135 MB / 0.6358 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/0.672, allocations: 231.4 kB / 0.636 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/0.6725, allocations: 19.98 kB / 0.636 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.6741, allocations: 87.91 kB / 0.6361 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006585/0.6747, allocations: 172.7 kB / 0.6363 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6749, allocations: 27.98 kB / 0.6363 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001426/0.6763, allocations: 0.7563 MB / 0.637 GB, free: 10.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.6763, allocations: 112 / 0.637 GB, free: 10.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001814/0.6781, allocations: 439.6 kB / 0.6375 GB, free: 10.08 MB / 446.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.01246/0.6906, allocations: 4.61 MB / 0.642 GB, free: 5.434 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007683/0.6983, allocations: 2.341 MB / 0.6443 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.6984, allocations: 3.938 kB / 0.6443 GB, free: 3.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004311/0.7027, allocations: 1.282 MB / 0.6455 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.7044, allocations: 84.3 kB / 0.6456 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0316/0.7361, allocations: 14.32 MB / 0.6596 GB, free: 3.051 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/0.737, allocations: 1.062 MB / 0.6606 GB, free: 1.961 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006329/0.7377, allocations: 103.6 kB / 0.6607 GB, free: 1.855 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008162/0.7385, allocations: 427.2 kB / 0.6611 GB, free: 1.438 MB / 462.1 MB Notification: Performance of SimCode: time 1.613e-06/0.7385, allocations: 0 / 0.6611 GB, free: 1.438 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06162/0.8002, allocations: 30.87 MB / 0.6913 GB, free: 2.812 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.8005, allocations: 259.6 kB / 0.6915 GB, free: 2.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.091/3.891, allocations: 0 / 0.6915 GB, free: 2.52 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)