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.00153/0.00153, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.5 MB / 229.6 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008289/0.0008289, allocations: 100.8 kB / 280.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4955/0.4955, allocations: 78.07 MB / 409.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.682e-05/1.685e-05, allocations: 0 / 485 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 69.37 MB / 0.5414 GB, free: 6.711 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.6064, allocations: 103.3 MB / 0.6423 GB, free: 12.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.6066, allocations: 75.95 kB / 0.6424 GB, free: 11.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/0.7091, allocations: 38.75 MB / 0.6802 GB, free: 5.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.7092, allocations: 0 / 0.6802 GB, free: 5.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.118e-05/0.7092, allocations: 20 kB / 0.6802 GB, free: 5.16 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.004236/0.7135, allocations: 1.681 MB / 0.6819 GB, free: 3.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.7135, allocations: 8.031 kB / 0.6819 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.7157, allocations: 401.8 kB / 0.6822 GB, free: 3.031 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.7172, allocations: 0.8617 MB / 0.6831 GB, free: 2.117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.7174, allocations: 202.5 kB / 0.6833 GB, free: 1.891 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.7176, allocations: 48 kB / 0.6833 GB, free: 1.844 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001466/0.7191, allocations: 0.8162 MB / 0.6841 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.7203, allocations: 0.7102 MB / 0.6848 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.7204, allocations: 0 / 0.6848 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/0.7204, allocations: 0 / 0.6848 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.7205, allocations: 22.69 kB / 0.6848 GB, free: 296 kB / 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.005825/0.7263, allocations: 3.446 MB / 0.6882 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.7282, allocations: 1.405 MB / 0.6896 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007253/0.729, allocations: 0.5319 MB / 0.6901 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.7291, allocations: 21.28 kB / 0.6901 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.7291, allocations: 43.88 kB / 0.6902 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=103): time 3.156e-06/0.7291, allocations: 0 / 0.6902 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103): time 0.009525/0.7387, allocations: 3.221 MB / 0.6933 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.7388, allocations: 66.22 kB / 0.6934 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.7404, allocations: 0.9639 MB / 0.6943 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.7406, allocations: 29.7 kB / 0.6943 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.7411, allocations: 0.5101 MB / 0.6948 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.7415, allocations: 358.6 kB / 0.6952 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.7416, allocations: 0 / 0.6952 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7417, allocations: 341.9 kB / 0.6955 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/0.7424, allocations: 414.6 kB / 0.6959 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007407/0.7431, allocations: 0.5017 MB / 0.6964 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008758/0.744, allocations: 478.2 kB / 0.6968 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.744, allocations: 0 / 0.6968 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002879/0.7469, allocations: 1.525 MB / 0.6983 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.747, allocations: 11.95 kB / 0.6983 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.747, allocations: 0 / 0.6983 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00649/0.7535, allocations: 1.847 MB / 0.7002 GB, free: 228 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/0.7542, allocations: 147.8 kB / 0.7003 GB, free: 80 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/0.7582, allocations: 2.085 MB / 0.7023 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.7599, allocations: 155.1 kB / 0.7025 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.7601, allocations: 31.98 kB / 0.7025 GB, free: 13.79 MB / 0.5105 GB 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.0002839/0.7604, allocations: 116.8 kB / 0.7026 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009651/0.7701, allocations: 3.229 MB / 0.7058 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000621/0.7707, allocations: 138.2 kB / 0.7059 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009873/0.7806, allocations: 3.326 MB / 0.7092 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.7807, allocations: 13.03 kB / 0.7092 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.7807, allocations: 2.312 kB / 0.7092 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.7807, allocations: 7.969 kB / 0.7092 GB, free: 6.938 MB / 0.5105 GB 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.01275/0.7935, allocations: 4.943 MB / 0.714 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.7935, allocations: 0 / 0.714 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000962/0.7945, allocations: 139.9 kB / 0.7141 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004582/0.7991, allocations: 1.308 MB / 0.7154 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/0.7994, allocations: 3.953 kB / 0.7154 GB, free: 428 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.8137, allocations: 6.098 MB / 0.7214 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8137, allocations: 0 / 0.7214 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.8259, allocations: 4.076 MB / 0.7254 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008753/0.8268, allocations: 251.7 kB / 0.7256 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007856/0.8276, allocations: 0 / 0.7256 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/0.8297, allocations: 108 kB / 0.7257 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007686/0.8305, allocations: 192.9 kB / 0.7259 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.8307, allocations: 27.98 kB / 0.7259 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001555/0.8322, allocations: 0.7453 MB / 0.7266 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8322, allocations: 0 / 0.7266 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001733/0.834, allocations: 357.3 kB / 0.727 GB, free: 4.414 MB / 0.5261 GB 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.01197/0.846, allocations: 4.614 MB / 0.7315 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005341/0.8514, allocations: 1.601 MB / 0.733 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8514, allocations: 0 / 0.733 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003851/0.8553, allocations: 1.259 MB / 0.7343 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.8566, allocations: 86.44 kB / 0.7344 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005863/0.8625, allocations: 2.314 MB / 0.7366 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000795/0.8634, allocations: 1.143 MB / 0.7377 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006218/0.864, allocations: 96.14 kB / 0.7378 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008298/0.8648, allocations: 492.2 kB / 0.7383 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of SimCode: time 1.032e-06/0.8649, allocations: 0 / 0.7383 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3694/1.234, allocations: 28.72 MB / 0.7663 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/1.235, allocations: 157.8 kB / 0.7665 GB, free: 144.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/4.123, allocations: 1.094 kB / 0.7665 GB, free: 144.9 MB / 0.5573 GB (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)