Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_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.1141/0.1141, allocations: 12.2 MB / 27.18 MB, free: 1.5 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.0008125/0.0008127, allocations: 103.5 kB / 30.68 MB, free: 4.855 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.531/1.531, allocations: 205.4 MB / 239.5 MB, free: 13.61 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.001147/0.001147, allocations: 180.5 kB / 290.6 MB, free: 11.65 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4592/0.4592, allocations: 78.52 MB / 420.1 MB, free: 11.66 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.0008568/0.0008569, allocations: 28 kB / 0.4896 GB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2867, allocations: 69.24 MB / 0.5572 GB, free: 21.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.004933/0.2917, allocations: 7.482 MB / 0.5645 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.2957, allocations: 2.489 MB / 0.5669 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.2965, allocations: 12 kB / 0.5669 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.297, allocations: 214.4 kB / 0.5671 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.2995, allocations: 1.253 MB / 0.5684 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008588/0.3004, allocations: 0.5102 MB / 0.5688 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.3022, allocations: 2.254 MB / 0.571 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.3025, allocations: 272.9 kB / 0.5713 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.3032, allocations: 0.8482 MB / 0.5721 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009333/0.3041, allocations: 1.234 MB / 0.5733 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.3043, allocations: 104 kB / 0.5734 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.3048, allocations: 271.8 kB / 0.5737 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.305, allocations: 414.2 kB / 0.5741 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.3052, allocations: 292.8 kB / 0.5744 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3062, allocations: 1.741 MB / 0.5761 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3063, allocations: 4 kB / 0.5761 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3063, allocations: 0 / 0.5761 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.3063, allocations: 0 / 0.5761 GB, free: 1.59 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01686/0.3232, allocations: 4.786 MB / 0.5808 GB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3232, allocations: 11.98 kB / 0.5808 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004146/0.3236, allocations: 135.2 kB / 0.5809 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/0.3271, allocations: 0.5754 MB / 0.5815 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.3291, allocations: 1.166 MB / 0.5826 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.3294, allocations: 272.8 kB / 0.5829 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.3296, allocations: 123.9 kB / 0.583 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.3316, allocations: 1.135 MB / 0.5841 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3317, allocations: 0 / 0.5841 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/0.3318, allocations: 36 kB / 0.5841 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.3318, allocations: 20 kB / 0.5841 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.3341, allocations: 1.23 MB / 0.5853 GB, free: 7.949 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.007101/0.3412, allocations: 4.634 MB / 0.5899 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.3444, allocations: 2.198 MB / 0.592 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.3459, allocations: 0.8365 MB / 0.5928 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.346, allocations: 29.2 kB / 0.5929 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.3461, allocations: 51.77 kB / 0.5929 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.387e-06/0.3461, allocations: 0 / 0.5929 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02499/0.3711, allocations: 7.676 MB / 0.6004 GB, free: 8.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.3711, allocations: 64.72 kB / 0.6005 GB, free: 7.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.3738, allocations: 1.643 MB / 0.6021 GB, free: 6.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003112/0.3741, allocations: 61.64 kB / 0.6021 GB, free: 6.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.3747, allocations: 0.5496 MB / 0.6027 GB, free: 5.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006388/0.3753, allocations: 0.4971 MB / 0.6031 GB, free: 5.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.3757, allocations: 56 kB / 0.6032 GB, free: 5.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.3759, allocations: 411.6 kB / 0.6036 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/0.3783, allocations: 1.177 MB / 0.6047 GB, free: 3.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.3809, allocations: 1.407 MB / 0.6061 GB, free: 2.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/0.3835, allocations: 1.294 MB / 0.6074 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.3835, allocations: 7.953 kB / 0.6074 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.00898/0.3925, allocations: 4.266 MB / 0.6116 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3926, allocations: 8 kB / 0.6116 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3926, allocations: 0 / 0.6116 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.4027, allocations: 3.081 MB / 0.6146 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.405, allocations: 479.3 kB / 0.615 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005437/0.4105, allocations: 2.703 MB / 0.6177 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/0.413, allocations: 277.7 kB / 0.6179 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003284/0.4133, allocations: 91.97 kB / 0.618 GB, free: 5.855 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (281): * Single equations (assignments): 280 * 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 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.0007249/0.4141, allocations: 305.4 kB / 0.6183 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.4145, allocations: 165.9 kB / 0.6185 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.4251, allocations: 4.12 MB / 0.6225 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/0.4252, allocations: 16 kB / 0.6225 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.4252, allocations: 0 / 0.6225 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.4252, allocations: 7.969 kB / 0.6225 GB, free: 1.223 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 postOpt removeSimpleEquations (simulation): time 0.01342/0.4386, allocations: 6.236 MB / 0.6286 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.4387, allocations: 0 / 0.6286 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009672/0.4397, allocations: 175.7 kB / 0.6288 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005305/0.445, allocations: 1.699 MB / 0.6304 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.4451, allocations: 24 kB / 0.6305 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/0.4624, allocations: 7.793 MB / 0.6381 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4624, allocations: 3.984 kB / 0.6381 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/0.4747, allocations: 5.184 MB / 0.6431 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/0.4754, allocations: 310.8 kB / 0.6434 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/0.4758, allocations: 20 kB / 0.6434 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.4772, allocations: 103.9 kB / 0.6435 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/0.4777, allocations: 189.4 kB / 0.6437 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/0.4778, allocations: 35.98 kB / 0.6438 GB, free: 11.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001676/0.4794, allocations: 1.075 MB / 0.6448 GB, free: 10.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4795, allocations: 8 kB / 0.6448 GB, free: 10.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001702/0.4812, allocations: 0.5894 MB / 0.6454 GB, free: 9.441 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01278/0.4939, allocations: 5.783 MB / 0.651 GB, free: 3.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007762/0.5017, allocations: 3.171 MB / 0.6541 GB, free: 464 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5017, allocations: 0 / 0.6541 GB, free: 464 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00408/0.5058, allocations: 1.653 MB / 0.6558 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.5072, allocations: 133.5 kB / 0.6559 GB, free: 14.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/0.5358, allocations: 15.45 MB / 0.671 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/0.5367, allocations: 1.238 MB / 0.6722 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007683/0.5375, allocations: 163.2 kB / 0.6723 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.5386, allocations: 0.6243 MB / 0.6729 GB, free: 12.45 MB / 494.1 MB Notification: Performance of SimCode: time 2.295e-06/0.5386, allocations: 0 / 0.6729 GB, free: 12.45 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.28/0.8186, allocations: 41.95 MB / 0.7139 GB, free: 100.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.8188, allocations: 256.4 kB / 0.7142 GB, free: 100.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/3.679, allocations: 0 / 0.7142 GB, free: 100.3 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: