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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.0009936/0.0009939, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008024/0.0008025, allocations: 86.67 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4297/0.4297, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.962e-05, allocations: 7.984 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3296, allocations: 69.5 MB / 0.5492 GB, free: 19.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4537, allocations: 104.7 MB / 0.6514 GB, free: 10.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.4539, allocations: 75.95 kB / 0.6515 GB, free: 10.86 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3811/0.835, allocations: 35.39 MB / 0.686 GB, free: 107 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.8351, allocations: 0 / 0.686 GB, free: 107 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.84e-05/0.8351, allocations: 31.88 kB / 0.6861 GB, free: 107 MB / 490.7 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.004173/0.8393, allocations: 1.683 MB / 0.6877 GB, free: 106.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.8394, allocations: 11.78 kB / 0.6877 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.8395, allocations: 120.3 kB / 0.6878 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/0.8434, allocations: 0.7291 MB / 0.6886 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.8448, allocations: 0.9609 MB / 0.6895 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.8451, allocations: 234.3 kB / 0.6897 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.8452, allocations: 76.8 kB / 0.6898 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.8465, allocations: 0.8208 MB / 0.6906 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.8465, allocations: 0 / 0.6906 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.148e-05/0.8466, allocations: 24.19 kB / 0.6906 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.8466, allocations: 18.41 kB / 0.6906 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.8479, allocations: 0.8522 MB / 0.6915 GB, free: 105.5 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006322/0.8543, allocations: 3.821 MB / 0.6952 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.856, allocations: 1.443 MB / 0.6966 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/0.8567, allocations: 0.5524 MB / 0.6971 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.8568, allocations: 22.22 kB / 0.6972 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.8568, allocations: 46.28 kB / 0.6972 GB, free: 102.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=103): time 2.635e-06/0.8568, allocations: 3.938 kB / 0.6972 GB, free: 102.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=103): time 0.008607/0.8655, allocations: 3.268 MB / 0.7004 GB, free: 101.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.8655, allocations: 63.84 kB / 0.7005 GB, free: 101.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.867, allocations: 1.163 MB / 0.7016 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.8671, allocations: 41.42 kB / 0.7016 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.8674, allocations: 0.5196 MB / 0.7021 GB, free: 100.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.8677, allocations: 377.8 kB / 0.7025 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.8677, allocations: 14.44 kB / 0.7025 GB, free: 100.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.8678, allocations: 346 kB / 0.7029 GB, free: 100 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/0.8684, allocations: 433.4 kB / 0.7033 GB, free: 99.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006605/0.8691, allocations: 0.5213 MB / 0.7038 GB, free: 99.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.8698, allocations: 473.5 kB / 0.7042 GB, free: 99.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8698, allocations: 0 / 0.7042 GB, free: 99.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002461/0.8722, allocations: 1.592 MB / 0.7058 GB, free: 98.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.8723, allocations: 7.062 kB / 0.7058 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.8723, allocations: 0 / 0.7058 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007244/0.8795, allocations: 2.182 MB / 0.7079 GB, free: 98.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.8802, allocations: 144.7 kB / 0.7081 GB, free: 98.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.8833, allocations: 1.942 MB / 0.71 GB, free: 96.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.8852, allocations: 188.8 kB / 0.7101 GB, free: 96.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/0.8853, allocations: 35.22 kB / 0.7102 GB, free: 96.14 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0001994/0.8855, allocations: 152.8 kB / 0.7103 GB, free: 95.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.8857, allocations: 138.2 kB / 0.7104 GB, free: 95.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008599/0.8943, allocations: 3.396 MB / 0.7138 GB, free: 93.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.8943, allocations: 15.95 kB / 0.7138 GB, free: 93.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.8944, allocations: 3.703 kB / 0.7138 GB, free: 93.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.8944, allocations: 3.938 kB / 0.7138 GB, free: 93.15 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01058/0.905, allocations: 5.191 MB / 0.7189 GB, free: 89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.905, allocations: 0 / 0.7189 GB, free: 89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/0.9057, allocations: 149.6 kB / 0.719 GB, free: 88.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003946/0.9097, allocations: 1.317 MB / 0.7203 GB, free: 87.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.9098, allocations: 19.98 kB / 0.7203 GB, free: 87.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.9211, allocations: 6.204 MB / 0.7264 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9211, allocations: 0 / 0.7264 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00978/0.9309, allocations: 4.146 MB / 0.7304 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006637/0.9316, allocations: 275.1 kB / 0.7307 GB, free: 76.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.9318, allocations: 16 kB / 0.7307 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.9331, allocations: 131.9 kB / 0.7308 GB, free: 76.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004786/0.9336, allocations: 176.7 kB / 0.731 GB, free: 76.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.9337, allocations: 31.98 kB / 0.731 GB, free: 76.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.9348, allocations: 0.9154 MB / 0.7319 GB, free: 75.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9348, allocations: 0 / 0.7319 GB, free: 75.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009037/0.9357, allocations: 395.5 kB / 0.7323 GB, free: 75.19 MB / 490.7 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 () * 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.009713/0.9454, allocations: 4.716 MB / 0.7369 GB, free: 70.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00445/0.9499, allocations: 1.666 MB / 0.7385 GB, free: 68.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9499, allocations: 3.938 kB / 0.7385 GB, free: 68.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003255/0.9532, allocations: 1.293 MB / 0.7398 GB, free: 67.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.9542, allocations: 115.8 kB / 0.7399 GB, free: 67.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.9583, allocations: 2.402 MB / 0.7422 GB, free: 65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.9587, allocations: 1.132 MB / 0.7433 GB, free: 63.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.9591, allocations: 107.3 kB / 0.7434 GB, free: 63.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.9597, allocations: 487.3 kB / 0.7439 GB, free: 63.25 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.9597, allocations: 0 / 0.7439 GB, free: 63.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04494/1.005, allocations: 31.97 MB / 0.7751 GB, free: 31.64 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/1.005, allocations: 208.6 kB / 0.7753 GB, free: 31.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.7, allocations: 1.562 kB / 0.7753 GB, free: 31.41 MB / 490.7 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)