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.1117/0.1117, allocations: 12.2 MB / 27.17 MB, free: 1.926 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.0008373/0.0008374, allocations: 105.8 kB / 30.69 MB, free: 5 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.357/1.357, allocations: 205.4 MB / 239.5 MB, free: 11.55 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.00127/0.00127, allocations: 200.1 kB / 290.6 MB, free: 11.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.453/0.453, allocations: 78.53 MB / 420.1 MB, free: 11.5 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.0009124/0.0009126, allocations: 32 kB / 0.4896 GB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3294, allocations: 69.24 MB / 0.5572 GB, free: 20.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004131/0.3336, allocations: 5.529 MB / 0.5626 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.3369, allocations: 2.057 MB / 0.5646 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.3374, allocations: 12 kB / 0.5646 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.3378, allocations: 162.8 kB / 0.5647 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.3398, allocations: 0.9597 MB / 0.5657 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.3406, allocations: 418.9 kB / 0.5661 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.3422, allocations: 1.622 MB / 0.5677 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.3425, allocations: 180 kB / 0.5678 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008252/0.3434, allocations: 0.6031 MB / 0.5684 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.3443, allocations: 0.8561 MB / 0.5693 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.3444, allocations: 76 kB / 0.5693 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.3449, allocations: 239.8 kB / 0.5696 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.345, allocations: 298.8 kB / 0.5699 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3452, allocations: 213 kB / 0.5701 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008215/0.3461, allocations: 1.258 MB / 0.5713 GB, free: 6.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3461, allocations: 3.938 kB / 0.5713 GB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3461, allocations: 4 kB / 0.5713 GB, free: 6.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3461, allocations: 0 / 0.5713 GB, free: 6.48 MB / 382.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.01223/0.3584, allocations: 3.614 MB / 0.5748 GB, free: 2.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3584, allocations: 11.98 kB / 0.5748 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002618/0.3587, allocations: 106.5 kB / 0.5749 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/0.3616, allocations: 0.494 MB / 0.5754 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.3632, allocations: 0.8672 MB / 0.5763 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002609/0.3635, allocations: 234.2 kB / 0.5765 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.3638, allocations: 80 kB / 0.5766 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.3656, allocations: 0.9433 MB / 0.5775 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.3656, allocations: 0 / 0.5775 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.3657, allocations: 28 kB / 0.5775 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.3658, allocations: 12 kB / 0.5775 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.368, allocations: 1.059 MB / 0.5786 GB, free: 14.88 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.005696/0.3737, allocations: 2.958 MB / 0.5814 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/0.3766, allocations: 1.168 MB / 0.5826 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.378, allocations: 0.7105 MB / 0.5833 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.3782, allocations: 20.97 kB / 0.5833 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3782, allocations: 43.56 kB / 0.5833 GB, free: 9.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=94): time 3.236e-06/0.3782, allocations: 0 / 0.5833 GB, free: 9.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=94): time 0.0256/0.4038, allocations: 7.653 MB / 0.5908 GB, free: 2.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4039, allocations: 64.36 kB / 0.5909 GB, free: 2.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.4063, allocations: 1.136 MB / 0.592 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.4066, allocations: 53.64 kB / 0.592 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.4071, allocations: 389.9 kB / 0.5924 GB, free: 476 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005585/0.4077, allocations: 363 kB / 0.5928 GB, free: 108 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.4079, allocations: 36 kB / 0.5928 GB, free: 72 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.4082, allocations: 381.9 kB / 0.5932 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.4104, allocations: 0.9527 MB / 0.5941 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.4126, allocations: 0.982 MB / 0.595 GB, free: 13.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.4148, allocations: 1.029 MB / 0.596 GB, free: 12.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.4149, allocations: 0 / 0.596 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007568/0.4225, allocations: 3.274 MB / 0.5992 GB, free: 9.449 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.4225, allocations: 4 kB / 0.5992 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4225, allocations: 0 / 0.5992 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008734/0.4313, allocations: 2.538 MB / 0.6017 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.4331, allocations: 319.6 kB / 0.602 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.4388, allocations: 2.456 MB / 0.6044 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.4412, allocations: 234.4 kB / 0.6047 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/0.4417, allocations: 59.98 kB / 0.6047 GB, free: 3.82 MB / 414.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.0009518/0.4427, allocations: 245.6 kB / 0.6049 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/0.4432, allocations: 114.5 kB / 0.6051 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.4546, allocations: 3.918 MB / 0.6089 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.4547, allocations: 12 kB / 0.6089 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4547, allocations: 3.938 kB / 0.6089 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.4547, allocations: 7.984 kB / 0.6089 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.457, allocations: 1.21 MB / 0.6101 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.4571, allocations: 0 / 0.6101 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/0.4578, allocations: 111.9 kB / 0.6102 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00544/0.4633, allocations: 1.673 MB / 0.6118 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.4635, allocations: 23.98 kB / 0.6118 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01979/0.4833, allocations: 7.825 MB / 0.6195 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4833, allocations: 4 kB / 0.6195 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/0.4983, allocations: 4.787 MB / 0.6242 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000707/0.4991, allocations: 243.3 kB / 0.6244 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/0.4996, allocations: 16 kB / 0.6244 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.5011, allocations: 115.9 kB / 0.6245 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006627/0.5018, allocations: 172.7 kB / 0.6247 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.5019, allocations: 27.98 kB / 0.6247 GB, free: 15.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00136/0.5033, allocations: 0.7524 MB / 0.6255 GB, free: 14.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5033, allocations: 0 / 0.6255 GB, free: 14.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001776/0.5051, allocations: 439.8 kB / 0.6259 GB, free: 13.88 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.01317/0.5183, allocations: 5.234 MB / 0.631 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007684/0.526, allocations: 2.544 MB / 0.6335 GB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5261, allocations: 0 / 0.6335 GB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004338/0.5304, allocations: 1.45 MB / 0.6349 GB, free: 4.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.532, allocations: 89.25 kB / 0.635 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/0.559, allocations: 11.65 MB / 0.6464 GB, free: 8.547 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008156/0.5599, allocations: 1.054 MB / 0.6474 GB, free: 7.465 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007012/0.5606, allocations: 115.6 kB / 0.6475 GB, free: 7.348 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000879/0.5615, allocations: 419.3 kB / 0.6479 GB, free: 6.938 MB / 462.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5616, allocations: 0 / 0.6479 GB, free: 6.938 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06198/0.6235, allocations: 30.91 MB / 0.6781 GB, free: 8.234 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.6238, allocations: 257.4 kB / 0.6783 GB, free: 7.945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.358, allocations: 3.938 kB / 0.6783 GB, free: 7.941 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/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: