Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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.0009384/0.0009385, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.354/1.354, allocations: 223.2 MB / 238.9 MB, free: 5.422 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.001147/0.001147, allocations: 173.1 kB / 290.2 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4639/0.4639, allocations: 78.53 MB / 419.8 MB, free: 4.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004089, allocations: 12 kB / 499.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 69.36 MB / 0.5558 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2316/0.3779, allocations: 5.992 MB / 0.5616 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.3819, allocations: 2.228 MB / 0.5638 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006398/0.3826, allocations: 14.28 kB / 0.5638 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.3831, allocations: 179.8 kB / 0.564 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.3855, allocations: 1.09 MB / 0.565 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.3864, allocations: 420.6 kB / 0.5654 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.3881, allocations: 1.252 MB / 0.5667 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.3884, allocations: 214.9 kB / 0.5669 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000644/0.3891, allocations: 0.6548 MB / 0.5675 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008505/0.3899, allocations: 0.9266 MB / 0.5684 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.3901, allocations: 82.78 kB / 0.5685 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.3906, allocations: 233.7 kB / 0.5687 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.3909, allocations: 316.2 kB / 0.569 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3911, allocations: 238.5 kB / 0.5693 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.3922, allocations: 1.367 MB / 0.5706 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3923, allocations: 0 / 0.5706 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3923, allocations: 0 / 0.5706 GB, free: 35.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.3923, allocations: 0 / 0.5706 GB, free: 35.91 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.01381/0.4061, allocations: 3.78 MB / 0.5743 GB, free: 34.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4062, allocations: 11.5 kB / 0.5743 GB, free: 34.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004295/0.4066, allocations: 118.1 kB / 0.5744 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.4098, allocations: 0.5271 MB / 0.5749 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.4113, allocations: 0.9199 MB / 0.5758 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.4116, allocations: 242.6 kB / 0.576 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.4117, allocations: 93.66 kB / 0.5761 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.4136, allocations: 1.034 MB / 0.5771 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4136, allocations: 0 / 0.5771 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.4137, allocations: 25.81 kB / 0.5772 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4137, allocations: 19.7 kB / 0.5772 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.416, allocations: 1.175 MB / 0.5783 GB, free: 32.93 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.005445/0.4214, allocations: 3.896 MB / 0.5821 GB, free: 30.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.4242, allocations: 1.748 MB / 0.5838 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4243, allocations: 20.19 kB / 0.5839 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4243, allocations: 46.69 kB / 0.5839 GB, free: 29.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.795e-06/0.4243, allocations: 0 / 0.5839 GB, free: 29.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.0233/0.4476, allocations: 6.591 MB / 0.5903 GB, free: 28.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.4477, allocations: 63.81 kB / 0.5904 GB, free: 28.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.4499, allocations: 1.266 MB / 0.5916 GB, free: 27.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003598/0.4503, allocations: 50.8 kB / 0.5917 GB, free: 27.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.4507, allocations: 478.7 kB / 0.5921 GB, free: 27.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/0.4511, allocations: 390.4 kB / 0.5925 GB, free: 26.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.4513, allocations: 40.5 kB / 0.5926 GB, free: 26.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4514, allocations: 379.3 kB / 0.5929 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.4535, allocations: 1.002 MB / 0.5939 GB, free: 26.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.4558, allocations: 1.155 MB / 0.595 GB, free: 25.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.4581, allocations: 1.078 MB / 0.5961 GB, free: 25.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.4582, allocations: 1.375 kB / 0.5961 GB, free: 25.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007144/0.4653, allocations: 3.143 MB / 0.5992 GB, free: 24.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4654, allocations: 9.031 kB / 0.5992 GB, free: 24.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4654, allocations: 3.047 kB / 0.5992 GB, free: 24.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009662/0.4751, allocations: 2.519 MB / 0.6016 GB, free: 23.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.4772, allocations: 365.9 kB / 0.602 GB, free: 23.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.4828, allocations: 2.456 MB / 0.6044 GB, free: 22.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.4855, allocations: 250.2 kB / 0.6046 GB, free: 22.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.4857, allocations: 77.38 kB / 0.6047 GB, free: 22.36 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.0005823/0.4863, allocations: 264.5 kB / 0.6049 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.4865, allocations: 132.3 kB / 0.6051 GB, free: 22.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.4984, allocations: 3.972 MB / 0.6089 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/0.4985, allocations: 10.98 kB / 0.609 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.4985, allocations: 7.953 kB / 0.609 GB, free: 21.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.36e-05/0.4986, allocations: 6.578 kB / 0.609 GB, free: 21.13 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.0144/0.513, allocations: 5.652 MB / 0.6145 GB, free: 17.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.513, allocations: 0 / 0.6145 GB, free: 17.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/0.5139, allocations: 136.5 kB / 0.6146 GB, free: 17.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005151/0.5191, allocations: 1.673 MB / 0.6162 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.5193, allocations: 23.98 kB / 0.6163 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/0.5361, allocations: 8.227 MB / 0.6243 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5361, allocations: 4.641 kB / 0.6243 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.5481, allocations: 4.907 MB / 0.6291 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/0.5488, allocations: 255.1 kB / 0.6293 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.549, allocations: 20 kB / 0.6294 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.5503, allocations: 128.7 kB / 0.6295 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004861/0.5508, allocations: 177.2 kB / 0.6297 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.5509, allocations: 31.98 kB / 0.6297 GB, free: 1.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009773/0.5518, allocations: 0.8356 MB / 0.6305 GB, free: 1.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5518, allocations: 0 / 0.6305 GB, free: 1.105 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001264/0.5531, allocations: 481.3 kB / 0.631 GB, free: 0.6367 MB / 430.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.01253/0.5657, allocations: 5.366 MB / 0.6362 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007119/0.5728, allocations: 2.648 MB / 0.6388 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5729, allocations: 0 / 0.6388 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004238/0.5771, allocations: 1.491 MB / 0.6402 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.5781, allocations: 93.5 kB / 0.6403 GB, free: 7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.5848, allocations: 4.659 MB / 0.6449 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.5855, allocations: 1.136 MB / 0.646 GB, free: 1.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004981/0.586, allocations: 124.6 kB / 0.6461 GB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006619/0.5867, allocations: 499.3 kB / 0.6466 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5867, allocations: 0 / 0.6466 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.052/0.6387, allocations: 31.68 MB / 0.6775 GB, free: 1.266 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.6389, allocations: 238.8 kB / 0.6778 GB, free: 1.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.302, allocations: 0 / 0.6778 GB, free: 1.02 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: