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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.0009999/0.0009999, allocations: 174.7 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.315/1.315, 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.0008402/0.0008402, allocations: 97.2 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4634/0.4634, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.054e-05, allocations: 4 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3147, allocations: 69.34 MB / 0.548 GB, free: 20.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4368, allocations: 104 MB / 0.6496 GB, free: 12.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.437, allocations: 75.95 kB / 0.6497 GB, free: 12.32 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3674/0.8044, allocations: 39.22 MB / 0.688 GB, free: 108.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.8045, allocations: 0 / 0.688 GB, free: 108.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.368e-05/0.8045, allocations: 23.09 kB / 0.688 GB, free: 108.5 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.003645/0.8082, allocations: 1.686 MB / 0.6897 GB, free: 107.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.8082, allocations: 15.66 kB / 0.6897 GB, free: 107.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.8084, allocations: 123.6 kB / 0.6898 GB, free: 107.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.8104, allocations: 402.5 kB / 0.6902 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.8118, allocations: 0.8572 MB / 0.691 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.812, allocations: 232.8 kB / 0.6912 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.8122, allocations: 77.22 kB / 0.6913 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.8135, allocations: 0.8151 MB / 0.6921 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.8135, allocations: 3.375 kB / 0.6921 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-05/0.8136, allocations: 26.22 kB / 0.6921 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.8137, allocations: 18.34 kB / 0.6921 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.8149, allocations: 0.8591 MB / 0.693 GB, free: 106.8 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.005099/0.82, allocations: 3.574 MB / 0.6965 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.8218, allocations: 1.451 MB / 0.6979 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.8225, allocations: 0.553 MB / 0.6984 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.8226, allocations: 23.92 kB / 0.6985 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.8227, allocations: 42.59 kB / 0.6985 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=103): time 3.887e-06/0.8227, allocations: 0 / 0.6985 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=103): time 0.008927/0.8316, allocations: 3.271 MB / 0.7017 GB, free: 102.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.8317, allocations: 63.22 kB / 0.7018 GB, free: 102.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.8331, allocations: 1.041 MB / 0.7028 GB, free: 102.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.8333, allocations: 41.17 kB / 0.7028 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.8336, allocations: 0.5112 MB / 0.7033 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.8339, allocations: 372.9 kB / 0.7037 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.834, allocations: 23.88 kB / 0.7037 GB, free: 101.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.8341, allocations: 346.6 kB / 0.704 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/0.8347, allocations: 432.4 kB / 0.7044 GB, free: 100.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.8354, allocations: 0.5146 MB / 0.7049 GB, free: 100.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/0.8361, allocations: 477.4 kB / 0.7054 GB, free: 100.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8361, allocations: 0 / 0.7054 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002626/0.8388, allocations: 1.594 MB / 0.7069 GB, free: 99.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.8388, allocations: 7.688 kB / 0.707 GB, free: 99.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.8388, allocations: 0 / 0.707 GB, free: 99.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007325/0.8461, allocations: 2.179 MB / 0.7091 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.8469, allocations: 143.4 kB / 0.7092 GB, free: 98.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.8501, allocations: 1.95 MB / 0.7111 GB, free: 96.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.8518, allocations: 176.9 kB / 0.7113 GB, free: 96.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.8519, allocations: 35.7 kB / 0.7113 GB, free: 96.3 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.0002111/0.8522, allocations: 152.8 kB / 0.7115 GB, free: 96.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.8524, allocations: 146.2 kB / 0.7116 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008749/0.8612, allocations: 3.396 MB / 0.7149 GB, free: 93.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.8612, allocations: 15.95 kB / 0.7149 GB, free: 93.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8612, allocations: 0 / 0.7149 GB, free: 93.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.8612, allocations: 3.797 kB / 0.7149 GB, free: 93.3 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.01128/0.8725, allocations: 5.101 MB / 0.7199 GB, free: 88.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.8726, allocations: 0 / 0.7199 GB, free: 88.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.8734, allocations: 143.8 kB / 0.7201 GB, free: 88.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004045/0.8775, allocations: 1.324 MB / 0.7214 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.8776, allocations: 16 kB / 0.7214 GB, free: 87.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.8895, allocations: 6.204 MB / 0.7274 GB, free: 80.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8895, allocations: 3.984 kB / 0.7274 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009713/0.8992, allocations: 4.153 MB / 0.7315 GB, free: 76.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/0.8998, allocations: 251.1 kB / 0.7317 GB, free: 76.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.9001, allocations: 20.11 kB / 0.7317 GB, free: 76.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.9015, allocations: 131.8 kB / 0.7319 GB, free: 76.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/0.9019, allocations: 180.7 kB / 0.732 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/0.902, allocations: 31.98 kB / 0.7321 GB, free: 76.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.9032, allocations: 0.8138 MB / 0.7329 GB, free: 75.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9032, allocations: 3.938 kB / 0.7329 GB, free: 75.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001064/0.9042, allocations: 395.5 kB / 0.7333 GB, free: 74.89 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.009639/0.9139, allocations: 4.707 MB / 0.7378 GB, free: 70.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004531/0.9184, allocations: 1.658 MB / 0.7395 GB, free: 68.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9184, allocations: 4 kB / 0.7395 GB, free: 68.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003326/0.9218, allocations: 1.29 MB / 0.7407 GB, free: 67.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.9227, allocations: 120.7 kB / 0.7408 GB, free: 67.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.9272, allocations: 2.39 MB / 0.7432 GB, free: 64.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.9276, allocations: 1.139 MB / 0.7443 GB, free: 63.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.9281, allocations: 102.8 kB / 0.7444 GB, free: 63.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/0.9287, allocations: 491.3 kB / 0.7449 GB, free: 62.96 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/0.9288, allocations: 0 / 0.7449 GB, free: 62.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04726/0.976, allocations: 30.95 MB / 0.7751 GB, free: 32.31 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.9762, allocations: 197.5 kB / 0.7753 GB, free: 32.08 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/3.751, allocations: 1.969 kB / 0.7753 GB, free: 32.08 MB / 490.7 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)