Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000757/0.000757, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.288/1.288, allocations: 223.3 MB / 239 MB, free: 5.609 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.001161/0.001161, allocations: 175.6 kB / 290.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4634/0.4634, allocations: 79.47 MB / 420.8 MB, free: 3.918 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 12 kB / 0.4892 GB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3307, allocations: 69.51 MB / 0.5571 GB, free: 37.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007035/0.3378, allocations: 7.444 MB / 0.5644 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005611/0.3434, allocations: 2.506 MB / 0.5668 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.3445, allocations: 9.938 kB / 0.5668 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.3451, allocations: 212.9 kB / 0.567 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.3474, allocations: 0.9377 MB / 0.5679 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3487, allocations: 0.5768 MB / 0.5685 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.3507, allocations: 2.088 MB / 0.5705 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004248/0.3511, allocations: 275.9 kB / 0.5708 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008729/0.352, allocations: 0.8134 MB / 0.5716 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.3531, allocations: 1.173 MB / 0.5727 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.3534, allocations: 108.9 kB / 0.5728 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006508/0.354, allocations: 268.2 kB / 0.5731 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.3543, allocations: 402.6 kB / 0.5735 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.3546, allocations: 286.5 kB / 0.5738 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.356, allocations: 1.72 MB / 0.5754 GB, free: 32.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.356, allocations: 0.5625 kB / 0.5754 GB, free: 32.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.356, allocations: 6.266 kB / 0.5754 GB, free: 32.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.356, allocations: 0 / 0.5754 GB, free: 32.88 MB / 430.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.01251/0.3685, allocations: 3.926 MB / 0.5793 GB, free: 31.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3686, allocations: 7.875 kB / 0.5793 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004755/0.3691, allocations: 144.3 kB / 0.5794 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.3726, allocations: 0.5763 MB / 0.58 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.3745, allocations: 1.159 MB / 0.5811 GB, free: 30.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.3748, allocations: 282.1 kB / 0.5814 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.3749, allocations: 119.1 kB / 0.5815 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.3768, allocations: 1.129 MB / 0.5826 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3768, allocations: 0 / 0.5826 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/0.3769, allocations: 40 kB / 0.5826 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3769, allocations: 20.91 kB / 0.5827 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.3789, allocations: 1.232 MB / 0.5839 GB, free: 29.46 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 preOpt removeSimpleEquations (simulation): time 0.006212/0.3851, allocations: 4.644 MB / 0.5884 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.3879, allocations: 2.199 MB / 0.5905 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.3892, allocations: 0.8309 MB / 0.5914 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.3894, allocations: 31.75 kB / 0.5914 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.3894, allocations: 43.94 kB / 0.5914 GB, free: 24.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.715e-06/0.3894, allocations: 1.719 kB / 0.5914 GB, free: 24.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02476/0.4142, allocations: 7.677 MB / 0.5989 GB, free: 23.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4143, allocations: 74.02 kB / 0.599 GB, free: 23.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002841/0.4171, allocations: 1.64 MB / 0.6006 GB, free: 22.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000257/0.4174, allocations: 59.89 kB / 0.6007 GB, free: 22.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.4179, allocations: 0.5504 MB / 0.6012 GB, free: 22.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/0.4184, allocations: 0.4998 MB / 0.6017 GB, free: 21.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.4187, allocations: 55.34 kB / 0.6017 GB, free: 21.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4189, allocations: 406.8 kB / 0.6021 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/0.4213, allocations: 1.187 MB / 0.6033 GB, free: 20.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.4237, allocations: 1.392 MB / 0.6046 GB, free: 20.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.426, allocations: 1.302 MB / 0.6059 GB, free: 19.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.426, allocations: 1.312 kB / 0.6059 GB, free: 19.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008376/0.4344, allocations: 4.269 MB / 0.6101 GB, free: 18.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.4345, allocations: 10.34 kB / 0.6101 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4345, allocations: 1.375 kB / 0.6101 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/0.4445, allocations: 3.083 MB / 0.6131 GB, free: 17.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/0.4468, allocations: 476.5 kB / 0.6136 GB, free: 17.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/0.4518, allocations: 2.698 MB / 0.6162 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.4545, allocations: 274.3 kB / 0.6165 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/0.4549, allocations: 92.16 kB / 0.6165 GB, free: 15.58 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.000726/0.4556, allocations: 314.3 kB / 0.6168 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.4561, allocations: 167 kB / 0.617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00976/0.4659, allocations: 4.116 MB / 0.621 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.4659, allocations: 16 kB / 0.621 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.466, allocations: 4 kB / 0.621 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.466, allocations: 9.188 kB / 0.6211 GB, free: 11 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.01183/0.4778, allocations: 6.236 MB / 0.6271 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.4779, allocations: 1.188 kB / 0.6271 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009028/0.4788, allocations: 167.8 kB / 0.6273 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004627/0.4834, allocations: 1.697 MB / 0.629 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.4836, allocations: 27.98 kB / 0.629 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/0.4996, allocations: 7.791 MB / 0.6366 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4996, allocations: 0 / 0.6366 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/0.512, allocations: 5.185 MB / 0.6417 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000696/0.5127, allocations: 314.8 kB / 0.642 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004579/0.5132, allocations: 21.19 kB / 0.642 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.5147, allocations: 105.4 kB / 0.6421 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005164/0.5152, allocations: 193.4 kB / 0.6423 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.5153, allocations: 37.77 kB / 0.6423 GB, free: 4.891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001766/0.5171, allocations: 1.075 MB / 0.6434 GB, free: 3.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5171, allocations: 4 kB / 0.6434 GB, free: 3.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002031/0.5192, allocations: 0.5933 MB / 0.6439 GB, free: 3.223 MB / 446.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.01231/0.5315, allocations: 5.784 MB / 0.6496 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007878/0.5394, allocations: 3.165 MB / 0.6527 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5394, allocations: 4 kB / 0.6527 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004015/0.5434, allocations: 1.66 MB / 0.6543 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5449, allocations: 125.6 kB / 0.6544 GB, free: 8.441 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/0.5734, allocations: 15.45 MB / 0.6695 GB, free: 8.449 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/0.5744, allocations: 1.238 MB / 0.6707 GB, free: 7.176 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009088/0.5753, allocations: 155.2 kB / 0.6709 GB, free: 7.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.5765, allocations: 0.6281 MB / 0.6715 GB, free: 6.391 MB / 478.1 MB Notification: Performance of SimCode: time 2.795e-06/0.5765, allocations: 3.938 kB / 0.6715 GB, free: 6.387 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06412/0.6407, allocations: 41.97 MB / 0.7125 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.6409, allocations: 247.7 kB / 0.7127 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/3.375, allocations: 4.062 kB / 0.7127 GB, free: 12.55 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: