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-master/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-master/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-master/package.mo): time 0.08458/0.08458, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001001/0.001001, allocations: 111.4 kB / 31.83 MB, free: 3.895 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.259/1.259, allocations: 205.1 MB / 240.4 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 192.5 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4142/0.4142, allocations: 78.51 MB / 419.3 MB, free: 10.75 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.002468/0.002468, allocations: 140.5 kB / 0.5554 GB, free: 17.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1224, allocations: 68.12 MB / 0.6219 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.00625/0.1287, allocations: 6.186 MB / 0.6279 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.1324, allocations: 2.181 MB / 0.63 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.1328, allocations: 8 kB / 0.6301 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.1333, allocations: 242.1 kB / 0.6303 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.1359, allocations: 1.198 MB / 0.6315 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009097/0.1368, allocations: 479.2 kB / 0.6319 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.1386, allocations: 1.84 MB / 0.6337 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.1389, allocations: 207.4 kB / 0.6339 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.1398, allocations: 0.7045 MB / 0.6346 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.1409, allocations: 0.9651 MB / 0.6355 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.1412, allocations: 148 kB / 0.6357 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005967/0.1418, allocations: 315.8 kB / 0.636 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.1421, allocations: 382.6 kB / 0.6363 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000587/0.1427, allocations: 0.6877 MB / 0.637 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.1442, allocations: 1.718 MB / 0.6387 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1442, allocations: 4 kB / 0.6387 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1443, allocations: 0 / 0.6387 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1443, allocations: 0 / 0.6387 GB, free: 12.39 MB / 462.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.0145/0.1588, allocations: 3.707 MB / 0.6423 GB, free: 8.625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.494e-05/0.1589, allocations: 19.92 kB / 0.6423 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.1591, allocations: 106.7 kB / 0.6424 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.162, allocations: 0.495 MB / 0.6429 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.1633, allocations: 0.8946 MB / 0.6438 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.1636, allocations: 230.2 kB / 0.644 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.1638, allocations: 84 kB / 0.6441 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.1655, allocations: 0.8964 MB / 0.645 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1656, allocations: 0 / 0.645 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/0.1657, allocations: 24 kB / 0.645 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.1657, allocations: 20 kB / 0.645 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.1678, allocations: 0.9811 MB / 0.646 GB, free: 4.781 MB / 462.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.004421/0.1722, allocations: 2.919 MB / 0.6488 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.1749, allocations: 1.097 MB / 0.6499 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.1762, allocations: 0.6597 MB / 0.6505 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1763, allocations: 24.88 kB / 0.6506 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1763, allocations: 47.56 kB / 0.6506 GB, free: 15.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.234e-06/0.1764, allocations: 0 / 0.6506 GB, free: 15.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02431/0.2007, allocations: 6.477 MB / 0.6569 GB, free: 9.371 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.2007, allocations: 60.41 kB / 0.657 GB, free: 9.297 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.2023, allocations: 1.144 MB / 0.6581 GB, free: 8.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.2024, allocations: 45.7 kB / 0.6582 GB, free: 8.082 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.2027, allocations: 393.9 kB / 0.6585 GB, free: 7.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.2031, allocations: 370.9 kB / 0.6589 GB, free: 7.324 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006091/0.2037, allocations: 363.3 kB / 0.6592 GB, free: 6.961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.2038, allocations: 305.1 kB / 0.6595 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.2055, allocations: 0.9058 MB / 0.6604 GB, free: 5.754 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.2074, allocations: 0.9351 MB / 0.6613 GB, free: 4.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/0.2108, allocations: 1.809 MB / 0.6631 GB, free: 3.012 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2108, allocations: 3.938 kB / 0.6631 GB, free: 3.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00656/0.2173, allocations: 3.051 MB / 0.6661 GB, free: 15.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2174, allocations: 4 kB / 0.6661 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2174, allocations: 0 / 0.6661 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008276/0.2257, allocations: 2.264 MB / 0.6683 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.2271, allocations: 323.6 kB / 0.6686 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.2319, allocations: 2.276 MB / 0.6708 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.2338, allocations: 202.4 kB / 0.671 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.234, allocations: 59.97 kB / 0.6711 GB, free: 10.8 MB / 494.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.000424/0.2344, allocations: 249.6 kB / 0.6713 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.2346, allocations: 118.5 kB / 0.6714 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00999/0.2446, allocations: 3.289 MB / 0.6746 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2447, allocations: 15.94 kB / 0.6746 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2447, allocations: 0 / 0.6746 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.2447, allocations: 3.984 kB / 0.6746 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.2461, allocations: 1.214 MB / 0.6758 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.2461, allocations: 0 / 0.6758 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/0.2468, allocations: 115.9 kB / 0.6759 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004909/0.2517, allocations: 1.45 MB / 0.6774 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/0.2518, allocations: 16 kB / 0.6774 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2571/0.5089, allocations: 7.813 MB / 0.685 GB, free: 53.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.509, allocations: 7.25 kB / 0.685 GB, free: 53.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.5211, allocations: 4.123 MB / 0.689 GB, free: 52.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.5215, allocations: 235.3 kB / 0.6893 GB, free: 52.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.5216, allocations: 16.47 kB / 0.6893 GB, free: 52.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.5228, allocations: 84.5 kB / 0.6894 GB, free: 52.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006149/0.5235, allocations: 186.4 kB / 0.6895 GB, free: 52.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.5235, allocations: 24.47 kB / 0.6896 GB, free: 52.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001171/0.5247, allocations: 0.7597 MB / 0.6903 GB, free: 51.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5247, allocations: 0.9688 kB / 0.6903 GB, free: 51.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001335/0.5261, allocations: 437.9 kB / 0.6907 GB, free: 51.74 MB / 494.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.0118/0.5379, allocations: 4.595 MB / 0.6952 GB, free: 50.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006466/0.5444, allocations: 2.378 MB / 0.6975 GB, free: 49.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5444, allocations: 0 / 0.6975 GB, free: 49.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003905/0.5483, allocations: 1.314 MB / 0.6988 GB, free: 48.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.5493, allocations: 92.19 kB / 0.6989 GB, free: 48.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/0.5703, allocations: 13.34 MB / 0.7119 GB, free: 42.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.5706, allocations: 1.058 MB / 0.713 GB, free: 41.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003225/0.571, allocations: 107.5 kB / 0.7131 GB, free: 41.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.5715, allocations: 424.6 kB / 0.7135 GB, free: 41.56 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5715, allocations: 0 / 0.7135 GB, free: 41.56 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04706/0.6185, allocations: 33.7 MB / 0.7464 GB, free: 8.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.03, allocations: 3.859 kB / 0.7464 GB, free: 8.535 MB / 494.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/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)