Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.121/0.121, allocations: 12.2 MB / 27.15 MB, free: 1.133 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009938, allocations: 104.1 kB / 30.66 MB, free: 4.871 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 239.5 MB, free: 10.7 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.001184/0.001184, allocations: 185.1 kB / 290.6 MB, free: 8.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4492/0.4492, allocations: 78.49 MB / 420.1 MB, free: 6.586 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008837/0.0008838, allocations: 37.42 kB / 0.4895 GB, free: 37.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1391, allocations: 69.24 MB / 0.5571 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005927/0.1451, allocations: 5.309 MB / 0.5623 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.1492, allocations: 2.093 MB / 0.5643 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.1497, allocations: 8 kB / 0.5643 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.1501, allocations: 154.9 kB / 0.5645 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.1525, allocations: 1.031 MB / 0.5655 GB, free: 248 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/0.1534, allocations: 399.3 kB / 0.5659 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.1549, allocations: 1.129 MB / 0.567 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.1553, allocations: 181.2 kB / 0.5672 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/0.1558, allocations: 0.5917 MB / 0.5677 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008906/0.1567, allocations: 0.8486 MB / 0.5686 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.1569, allocations: 79.94 kB / 0.5686 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.1573, allocations: 219.8 kB / 0.5688 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.1576, allocations: 298.9 kB / 0.5691 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.1578, allocations: 209 kB / 0.5693 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.1589, allocations: 1.239 MB / 0.5705 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1589, allocations: 0 / 0.5705 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1589, allocations: 0 / 0.5705 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1589, allocations: 0 / 0.5705 GB, free: 11.05 MB / 398.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.01434/0.1733, allocations: 3.618 MB / 0.5741 GB, free: 7.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1733, allocations: 15.98 kB / 0.5741 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003407/0.1737, allocations: 110.5 kB / 0.5742 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/0.1768, allocations: 498 kB / 0.5747 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.1782, allocations: 0.8594 MB / 0.5755 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002924/0.1786, allocations: 234.2 kB / 0.5757 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.1787, allocations: 80 kB / 0.5758 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.1807, allocations: 0.9356 MB / 0.5767 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1807, allocations: 4 kB / 0.5767 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.1808, allocations: 28 kB / 0.5768 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.1808, allocations: 16 kB / 0.5768 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.1832, allocations: 1.055 MB / 0.5778 GB, free: 3.457 MB / 398.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.005223/0.1884, allocations: 2.958 MB / 0.5807 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.1913, allocations: 1.172 MB / 0.5818 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-05/0.1914, allocations: 16.91 kB / 0.5818 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1915, allocations: 43.56 kB / 0.5819 GB, free: 15.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.757e-06/0.1915, allocations: 0 / 0.5819 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.02813/0.2196, allocations: 7.662 MB / 0.5894 GB, free: 7.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.2197, allocations: 64.36 kB / 0.5894 GB, free: 7.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.2215, allocations: 1.133 MB / 0.5905 GB, free: 6.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002556/0.2217, allocations: 53.7 kB / 0.5906 GB, free: 6.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.2221, allocations: 389.9 kB / 0.591 GB, free: 5.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/0.2225, allocations: 355 kB / 0.5913 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2226, allocations: 40 kB / 0.5913 GB, free: 5.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2228, allocations: 373.9 kB / 0.5917 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.2247, allocations: 0.9605 MB / 0.5926 GB, free: 4.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.2266, allocations: 0.9742 MB / 0.5936 GB, free: 3.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.2286, allocations: 1.033 MB / 0.5946 GB, free: 2.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2286, allocations: 0 / 0.5946 GB, free: 2.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007303/0.2359, allocations: 3.27 MB / 0.5978 GB, free: 14.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.236, allocations: 8 kB / 0.5978 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.236, allocations: 0 / 0.5978 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009194/0.2452, allocations: 2.53 MB / 0.6003 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.247, allocations: 327.5 kB / 0.6006 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/0.2524, allocations: 2.456 MB / 0.603 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.2546, allocations: 222.5 kB / 0.6032 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.2547, allocations: 55.98 kB / 0.6032 GB, free: 9.133 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 (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 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0005085/0.2552, allocations: 253.5 kB / 0.6035 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.2554, allocations: 114.5 kB / 0.6036 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.2667, allocations: 3.918 MB / 0.6074 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.2668, allocations: 16 kB / 0.6074 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2668, allocations: 0 / 0.6074 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.2668, allocations: 3.984 kB / 0.6074 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.2687, allocations: 1.214 MB / 0.6086 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2687, allocations: 0 / 0.6086 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/0.2694, allocations: 119.8 kB / 0.6087 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00564/0.275, allocations: 1.677 MB / 0.6104 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.2752, allocations: 16 kB / 0.6104 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.2949, allocations: 8.205 MB / 0.6184 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2949, allocations: 0 / 0.6184 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/0.3079, allocations: 4.784 MB / 0.6231 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.3085, allocations: 243.3 kB / 0.6233 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.3087, allocations: 16 kB / 0.6233 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.31, allocations: 115.9 kB / 0.6234 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/0.3105, allocations: 176.8 kB / 0.6236 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.3106, allocations: 31.88 kB / 0.6236 GB, free: 3.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001035/0.3116, allocations: 0.7563 MB / 0.6244 GB, free: 3.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3116, allocations: 0 / 0.6244 GB, free: 3.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00122/0.3129, allocations: 435.7 kB / 0.6248 GB, free: 2.793 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 (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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01289/0.3258, allocations: 5.23 MB / 0.6299 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007421/0.3332, allocations: 2.544 MB / 0.6324 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3332, allocations: 0 / 0.6324 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.3376, allocations: 1.442 MB / 0.6338 GB, free: 9.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.3387, allocations: 80.23 kB / 0.6339 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.3455, allocations: 3.43 MB / 0.6372 GB, free: 5.973 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.3462, allocations: 1.077 MB / 0.6383 GB, free: 4.867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005101/0.3467, allocations: 111.6 kB / 0.6384 GB, free: 4.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006892/0.3474, allocations: 423.3 kB / 0.6388 GB, free: 4.34 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3474, allocations: 0 / 0.6388 GB, free: 4.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3146/0.662, allocations: 29.46 MB / 0.6676 GB, free: 96.05 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.6622, allocations: 250.3 kB / 0.6678 GB, free: 95.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.435, allocations: 0 / 0.6678 GB, free: 95.81 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) Environment - environmentSimulation: