Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.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.Mostar,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar",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.001516/0.001516, allocations: 175.1 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.58/1.58, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008504/0.00085, allocations: 92.95 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5692/0.5692, allocations: 78.09 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.779e-05/4.782e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4115, allocations: 69.33 MB / 0.5481 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.5635, allocations: 106.9 MB / 0.6525 GB, free: 9.609 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5638, allocations: 71.97 kB / 0.6526 GB, free: 9.539 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4288/0.9927, allocations: 39.17 MB / 0.6908 GB, free: 107.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.9927, allocations: 0 / 0.6908 GB, free: 107.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000133/0.9929, allocations: 34.78 kB / 0.6909 GB, free: 107.7 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004143/0.997, allocations: 1.736 MB / 0.6926 GB, free: 106.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.9971, allocations: 15.31 kB / 0.6926 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003428/0.9974, allocations: 150.6 kB / 0.6927 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.9987, allocations: 274.1 kB / 0.693 GB, free: 106.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/1.001, allocations: 1.021 MB / 0.694 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/1.001, allocations: 210.9 kB / 0.6942 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/1.001, allocations: 100.1 kB / 0.6943 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/1.003, allocations: 1.176 MB / 0.6954 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.003, allocations: 3.281 kB / 0.6954 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.003, allocations: 46.84 kB / 0.6955 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/1.003, allocations: 27.19 kB / 0.6955 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/1.005, allocations: 0.9029 MB / 0.6964 GB, free: 105.1 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.006861/1.012, allocations: 5.182 MB / 0.7014 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006884/1.018, allocations: 2.674 MB / 0.704 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/1.019, allocations: 459.6 kB / 0.7045 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-05/1.019, allocations: 22.23 kB / 0.7045 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008711/1.02, allocations: 0.603 MB / 0.7051 GB, free: 100.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 3.898e-06/1.02, allocations: 0 / 0.7051 GB, free: 100.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.004035/1.024, allocations: 1.641 MB / 0.7067 GB, free: 99.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/1.024, allocations: 274.6 kB / 0.707 GB, free: 99.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/1.026, allocations: 1.127 MB / 0.7081 GB, free: 98.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/1.026, allocations: 49.23 kB / 0.7081 GB, free: 98.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/1.027, allocations: 0.6591 MB / 0.7087 GB, free: 98.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/1.027, allocations: 364.7 kB / 0.7091 GB, free: 98.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/1.027, allocations: 23.53 kB / 0.7091 GB, free: 98.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.749e-05/1.027, allocations: 359 kB / 0.7095 GB, free: 97.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/1.028, allocations: 435.9 kB / 0.7099 GB, free: 97.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/1.029, allocations: 0.6639 MB / 0.7105 GB, free: 97.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007658/1.029, allocations: 496 kB / 0.711 GB, free: 96.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.029, allocations: 3.938 kB / 0.711 GB, free: 96.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005831/1.035, allocations: 2.627 MB / 0.7136 GB, free: 94.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/1.035, allocations: 1.523 MB / 0.7151 GB, free: 93.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.036, allocations: 4 kB / 0.7151 GB, free: 93.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004414/1.04, allocations: 1.454 MB / 0.7165 GB, free: 91.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/1.041, allocations: 145.8 kB / 0.7166 GB, free: 91.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/1.045, allocations: 4.326 MB / 0.7208 GB, free: 87.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.046, allocations: 218.8 kB / 0.721 GB, free: 87.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.046, allocations: 44 kB / 0.7211 GB, free: 87.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.047, allocations: 7.984 kB / 0.7211 GB, free: 87.21 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004899/1.051, allocations: 2.21 MB / 0.7233 GB, free: 84.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.051, allocations: 11.61 kB / 0.7233 GB, free: 84.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/1.056, allocations: 1.364 MB / 0.7246 GB, free: 83.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/1.056, allocations: 147.8 kB / 0.7247 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005559/1.062, allocations: 7.541 MB / 0.7321 GB, free: 75.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/1.063, allocations: 155.2 kB / 0.7323 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.064, allocations: 51.92 kB / 0.7323 GB, free: 75.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0003792/1.064, allocations: 176.3 kB / 0.7325 GB, free: 74.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/1.064, allocations: 150.1 kB / 0.7326 GB, free: 74.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/1.069, allocations: 1.729 MB / 0.7343 GB, free: 73.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.069, allocations: 12 kB / 0.7343 GB, free: 73.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.069, allocations: 7.953 kB / 0.7343 GB, free: 73.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.069, allocations: 3.984 kB / 0.7343 GB, free: 73.07 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.006079/1.075, allocations: 3.487 MB / 0.7377 GB, free: 69.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/1.075, allocations: 4 kB / 0.7377 GB, free: 69.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008792/1.076, allocations: 195.8 kB / 0.7379 GB, free: 69.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/1.077, allocations: 498.3 kB / 0.7384 GB, free: 68.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-05/1.077, allocations: 31.92 kB / 0.7384 GB, free: 68.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004436/1.082, allocations: 3.083 MB / 0.7414 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.082, allocations: 0 / 0.7414 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004985/1.087, allocations: 2.372 MB / 0.7438 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/1.087, allocations: 254.9 kB / 0.744 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/1.088, allocations: 24 kB / 0.744 GB, free: 62.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.089, allocations: 131.9 kB / 0.7441 GB, free: 62.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/1.089, allocations: 128.7 kB / 0.7443 GB, free: 62.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/1.089, allocations: 31.98 kB / 0.7443 GB, free: 62.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001387/1.091, allocations: 0.8634 MB / 0.7451 GB, free: 61.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.091, allocations: 0 / 0.7451 GB, free: 61.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001984/1.093, allocations: 0.6163 MB / 0.7457 GB, free: 61.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004829/1.098, allocations: 3.007 MB / 0.7487 GB, free: 58.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00645/1.104, allocations: 3.243 MB / 0.7518 GB, free: 54.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.104, allocations: 0 / 0.7518 GB, free: 54.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/1.106, allocations: 0.9101 MB / 0.7527 GB, free: 53.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.107, allocations: 175.6 kB / 0.7529 GB, free: 53.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/1.111, allocations: 2.433 MB / 0.7553 GB, free: 51.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/1.112, allocations: 1.241 MB / 0.7565 GB, free: 49.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001084/1.113, allocations: 221 kB / 0.7567 GB, free: 49.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/1.114, allocations: 0.5657 MB / 0.7573 GB, free: 49.1 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/1.114, allocations: 0 / 0.7573 GB, free: 49.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05891/1.173, allocations: 39.29 MB / 0.7956 GB, free: 10.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/1.173, allocations: 183.2 kB / 0.7958 GB, free: 9.871 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/4.718, allocations: 0 / 0.7958 GB, free: 9.871 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)