Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_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.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_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.0008917/0.0008921, allocations: 86.64 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.297/1.297, allocations: 223.2 MB / 239 MB, free: 5.469 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.001098/0.001098, allocations: 184.5 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.475/0.475, allocations: 79.48 MB / 420.8 MB, free: 3.938 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 16 kB / 0.4892 GB, free: 5.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3167, allocations: 69.5 MB / 0.5571 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006153/0.3229, allocations: 6.287 MB / 0.5632 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.3276, allocations: 2.195 MB / 0.5654 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009476/0.3286, allocations: 8.938 kB / 0.5654 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.3292, allocations: 179.9 kB / 0.5656 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.3313, allocations: 0.7863 MB / 0.5663 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3324, allocations: 499.4 kB / 0.5668 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.3342, allocations: 1.638 MB / 0.5684 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.3346, allocations: 212.3 kB / 0.5686 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008166/0.3354, allocations: 0.6359 MB / 0.5692 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009577/0.3364, allocations: 0.8991 MB / 0.5701 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.3366, allocations: 86.41 kB / 0.5702 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.3372, allocations: 239.3 kB / 0.5704 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.3374, allocations: 308.7 kB / 0.5707 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.3376, allocations: 236.2 kB / 0.5709 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.3387, allocations: 1.377 MB / 0.5723 GB, free: 34.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3387, allocations: 2.938 kB / 0.5723 GB, free: 34.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3387, allocations: 0.5625 kB / 0.5723 GB, free: 34.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.3388, allocations: 1.781 kB / 0.5723 GB, free: 34.5 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01011/0.3489, allocations: 3.207 MB / 0.5754 GB, free: 33.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3489, allocations: 7.906 kB / 0.5754 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002328/0.3492, allocations: 123.8 kB / 0.5755 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/0.3521, allocations: 0.5171 MB / 0.576 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.3536, allocations: 0.9335 MB / 0.577 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.3539, allocations: 236 kB / 0.5772 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.354, allocations: 99.47 kB / 0.5773 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.356, allocations: 1.033 MB / 0.5783 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.356, allocations: 0 / 0.5783 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.3561, allocations: 31.77 kB / 0.5783 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.3561, allocations: 17.05 kB / 0.5783 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.3583, allocations: 1.172 MB / 0.5795 GB, free: 31.6 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.005073/0.3634, allocations: 3.778 MB / 0.5832 GB, free: 29.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.366, allocations: 1.753 MB / 0.5849 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.3674, allocations: 0.7682 MB / 0.5856 GB, free: 28.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.3675, allocations: 21.31 kB / 0.5856 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3676, allocations: 42.78 kB / 0.5857 GB, free: 28.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.594e-06/0.3676, allocations: 1.062 kB / 0.5857 GB, free: 28.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02053/0.3881, allocations: 6.594 MB / 0.5921 GB, free: 26.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3882, allocations: 62.72 kB / 0.5922 GB, free: 26.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.39, allocations: 1.261 MB / 0.5934 GB, free: 26.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002584/0.3903, allocations: 52.23 kB / 0.5935 GB, free: 26.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.3907, allocations: 475.2 kB / 0.5939 GB, free: 25.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003783/0.391, allocations: 398.7 kB / 0.5943 GB, free: 25.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3912, allocations: 39.84 kB / 0.5943 GB, free: 25.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3913, allocations: 380.1 kB / 0.5947 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.3933, allocations: 0.9969 MB / 0.5957 GB, free: 24.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.3956, allocations: 1.163 MB / 0.5968 GB, free: 24.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.3977, allocations: 1.078 MB / 0.5979 GB, free: 23.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.3977, allocations: 5.062 kB / 0.5979 GB, free: 23.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006264/0.404, allocations: 3.142 MB / 0.6009 GB, free: 22.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.404, allocations: 6.938 kB / 0.6009 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.404, allocations: 2.656 kB / 0.6009 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008548/0.4126, allocations: 2.522 MB / 0.6034 GB, free: 22.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.4144, allocations: 362.5 kB / 0.6038 GB, free: 22.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.4193, allocations: 2.457 MB / 0.6062 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.4215, allocations: 254.6 kB / 0.6064 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/0.4217, allocations: 67.08 kB / 0.6065 GB, free: 20.87 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 (204): * Single equations (assignments): 203 * 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.0006007/0.4223, allocations: 264.1 kB / 0.6067 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.4227, allocations: 131.5 kB / 0.6068 GB, free: 20.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.4333, allocations: 3.977 MB / 0.6107 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.4333, allocations: 14.95 kB / 0.6107 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4333, allocations: 0 / 0.6107 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.4334, allocations: 7.062 kB / 0.6107 GB, free: 19.64 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.01214/0.4455, allocations: 5.655 MB / 0.6163 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4455, allocations: 0 / 0.6163 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/0.4462, allocations: 136.4 kB / 0.6164 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004555/0.4508, allocations: 1.678 MB / 0.618 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.4509, allocations: 20 kB / 0.6181 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.4666, allocations: 7.844 MB / 0.6257 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4666, allocations: 0 / 0.6257 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/0.4776, allocations: 4.917 MB / 0.6305 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.4781, allocations: 255.1 kB / 0.6308 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.4784, allocations: 21.03 kB / 0.6308 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.4797, allocations: 123.9 kB / 0.6309 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004682/0.4802, allocations: 184.4 kB / 0.6311 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/0.4803, allocations: 28 kB / 0.6311 GB, free: 0.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.4814, allocations: 0.8395 MB / 0.6319 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4814, allocations: 1.594 kB / 0.6319 GB, free: 15.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001484/0.4829, allocations: 483.6 kB / 0.6324 GB, free: 15.23 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 (71): * Single equations (assignments): 70 * 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.01177/0.4947, allocations: 5.36 MB / 0.6376 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006961/0.5017, allocations: 2.652 MB / 0.6402 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5017, allocations: 4 kB / 0.6402 GB, free: 7.168 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003853/0.5056, allocations: 1.485 MB / 0.6417 GB, free: 5.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.5069, allocations: 112.2 kB / 0.6418 GB, free: 5.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.5261, allocations: 11.05 MB / 0.6526 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.5268, allocations: 1.113 MB / 0.6536 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005404/0.5273, allocations: 122.2 kB / 0.6538 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/0.5281, allocations: 495.3 kB / 0.6542 GB, free: 8.559 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5281, allocations: 0 / 0.6542 GB, free: 8.559 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/0.5809, allocations: 33.18 MB / 0.6866 GB, free: 7.789 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.5812, allocations: 238.4 kB / 0.6869 GB, free: 7.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.059, allocations: 0 / 0.6869 GB, free: 7.547 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: