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.008192/0.008192, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.441/1.441, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001554/0.001554, allocations: 196.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5337/0.5337, allocations: 92.62 MB / 432.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 75.78 kB / 0.5732 GB, free: 33.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1266, allocations: 71.42 MB / 0.6429 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.007282/0.1339, allocations: 6.18 MB / 0.649 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.1384, allocations: 2.118 MB / 0.651 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008594/0.1393, allocations: 12 kB / 0.651 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.14, allocations: 230.1 kB / 0.6513 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.1423, allocations: 0.8969 MB / 0.6521 GB, free: 9.637 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1435, allocations: 0.5592 MB / 0.6527 GB, free: 9.078 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.1458, allocations: 1.672 MB / 0.6543 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.1462, allocations: 219.6 kB / 0.6545 GB, free: 7.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008799/0.1471, allocations: 0.677 MB / 0.6552 GB, free: 6.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.1482, allocations: 0.9184 MB / 0.6561 GB, free: 5.578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.1484, allocations: 144 kB / 0.6562 GB, free: 5.438 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.1491, allocations: 319.8 kB / 0.6565 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.1494, allocations: 366.6 kB / 0.6569 GB, free: 4.766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006483/0.1501, allocations: 0.676 MB / 0.6575 GB, free: 4.086 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.1521, allocations: 1.704 MB / 0.6592 GB, free: 2.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1521, allocations: 0 / 0.6592 GB, free: 2.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1521, allocations: 0 / 0.6592 GB, free: 2.375 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.1521, allocations: 0 / 0.6592 GB, free: 2.375 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.01239/0.1645, allocations: 3.183 MB / 0.6623 GB, free: 15.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1646, allocations: 12.03 kB / 0.6623 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.1647, allocations: 106.7 kB / 0.6624 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/0.1678, allocations: 0.4996 MB / 0.6629 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.1694, allocations: 0.8994 MB / 0.6638 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.1697, allocations: 226.2 kB / 0.664 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.1699, allocations: 87.95 kB / 0.6641 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.172, allocations: 0.8887 MB / 0.665 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.172, allocations: 0 / 0.665 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.1721, allocations: 24 kB / 0.665 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.1721, allocations: 16 kB / 0.665 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.1746, allocations: 0.985 MB / 0.666 GB, free: 11.3 MB / 478.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.005243/0.1799, allocations: 2.923 MB / 0.6688 GB, free: 8.242 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.183, allocations: 1.094 MB / 0.6699 GB, free: 7.145 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.1844, allocations: 0.6636 MB / 0.6705 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.1846, allocations: 20.98 kB / 0.6705 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1846, allocations: 43.5 kB / 0.6706 GB, free: 6.402 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.855e-06/0.1846, allocations: 0 / 0.6706 GB, free: 6.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.0282/0.2128, allocations: 6.494 MB / 0.6769 GB, free: 15.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.213, allocations: 68.39 kB / 0.677 GB, free: 15.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.2148, allocations: 1.137 MB / 0.6781 GB, free: 14.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.2151, allocations: 53.7 kB / 0.6782 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.2154, allocations: 390.3 kB / 0.6785 GB, free: 14.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/0.2158, allocations: 384.8 kB / 0.6789 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/0.2165, allocations: 367.4 kB / 0.6792 GB, free: 13.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2166, allocations: 305.1 kB / 0.6795 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/0.2187, allocations: 0.9097 MB / 0.6804 GB, free: 12.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.2207, allocations: 0.9312 MB / 0.6813 GB, free: 11.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.2247, allocations: 1.809 MB / 0.6831 GB, free: 9.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.2248, allocations: 0 / 0.6831 GB, free: 9.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007772/0.2325, allocations: 3.06 MB / 0.6861 GB, free: 6.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.2326, allocations: 7.938 kB / 0.6861 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.2326, allocations: 0 / 0.6861 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009583/0.2422, allocations: 2.268 MB / 0.6883 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.244, allocations: 331.5 kB / 0.6886 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/0.2497, allocations: 2.261 MB / 0.6908 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.2519, allocations: 202.9 kB / 0.691 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.252, allocations: 59.98 kB / 0.6911 GB, free: 1.27 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.0004789/0.2525, allocations: 249.5 kB / 0.6913 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.2528, allocations: 119.2 kB / 0.6914 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.2648, allocations: 3.305 MB / 0.6947 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.2649, allocations: 19.94 kB / 0.6947 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2649, allocations: 0 / 0.6947 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.381e-05/0.2649, allocations: 3.984 kB / 0.6947 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.2668, allocations: 1.21 MB / 0.6959 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2669, allocations: 0 / 0.6959 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007143/0.2676, allocations: 111.8 kB / 0.696 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005791/0.2734, allocations: 1.446 MB / 0.6974 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.2735, allocations: 24 kB / 0.6974 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/0.2941, allocations: 7.836 MB / 0.7051 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2942, allocations: 0 / 0.7051 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.3076, allocations: 4.132 MB / 0.7091 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.3082, allocations: 236 kB / 0.7093 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.3084, allocations: 20 kB / 0.7093 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.3096, allocations: 83.91 kB / 0.7094 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005885/0.3102, allocations: 172.8 kB / 0.7096 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/0.3103, allocations: 32 kB / 0.7096 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001129/0.3115, allocations: 0.7602 MB / 0.7104 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3115, allocations: 0 / 0.7104 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001305/0.3128, allocations: 439.7 kB / 0.7108 GB, free: 12.83 MB / 0.5137 GB 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.01375/0.3265, allocations: 4.614 MB / 0.7153 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00742/0.334, allocations: 2.379 MB / 0.7176 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.334, allocations: 0 / 0.7176 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00444/0.3385, allocations: 1.317 MB / 0.7189 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3396, allocations: 84.52 kB / 0.719 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/0.3663, allocations: 13.39 MB / 0.7321 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.367, allocations: 1.061 MB / 0.7331 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004889/0.3675, allocations: 103.6 kB / 0.7332 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007087/0.3682, allocations: 427.3 kB / 0.7336 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.3682, allocations: 0 / 0.7336 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07335/0.4416, allocations: 33.7 MB / 0.7665 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.21, allocations: 12.05 kB / 0.7665 GB, free: 3.746 MB / 0.5606 GB (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)