Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_dev_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.001584/0.001584, 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.186/1.186, 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.0008252/0.0008253, allocations: 92.52 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4433/0.4433, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.087e-05, allocations: 7.984 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3082, allocations: 69.5 MB / 0.5492 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4361, allocations: 107.6 MB / 0.6543 GB, free: 8.016 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4364, allocations: 75.95 kB / 0.6543 GB, free: 7.941 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3655/0.8019, allocations: 36.47 MB / 0.6899 GB, free: 107.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.8019, allocations: 0 / 0.6899 GB, free: 107.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.725e-05/0.802, allocations: 37.81 kB / 0.69 GB, free: 107.3 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.002999/0.805, allocations: 1.731 MB / 0.6917 GB, free: 106.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.8051, allocations: 12.59 kB / 0.6917 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.8052, allocations: 154.5 kB / 0.6918 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.8073, allocations: 495.8 kB / 0.6923 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.8087, allocations: 1.076 MB / 0.6933 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.8089, allocations: 215.2 kB / 0.6936 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.8091, allocations: 98.88 kB / 0.6936 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.8106, allocations: 1.171 MB / 0.6948 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.8106, allocations: 1.219 kB / 0.6948 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.8108, allocations: 43.66 kB / 0.6948 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.8108, allocations: 27.19 kB / 0.6949 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.8121, allocations: 0.9166 MB / 0.6958 GB, free: 104.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.006801/0.8189, allocations: 5.305 MB / 0.7009 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007012/0.8259, allocations: 2.669 MB / 0.7035 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008488/0.8268, allocations: 466 kB / 0.704 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.074e-05/0.8269, allocations: 19.12 kB / 0.704 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009454/0.8279, allocations: 0.6057 MB / 0.7046 GB, free: 99.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 2.695e-06/0.8279, allocations: 0 / 0.7046 GB, free: 99.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.004193/0.8321, allocations: 1.644 MB / 0.7062 GB, free: 99.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.8322, allocations: 265.9 kB / 0.7065 GB, free: 99.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.8342, allocations: 1.205 MB / 0.7076 GB, free: 98.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.8343, allocations: 52.17 kB / 0.7077 GB, free: 98.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.8347, allocations: 0.6665 MB / 0.7083 GB, free: 97.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.835, allocations: 363.9 kB / 0.7087 GB, free: 97.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.8351, allocations: 23.94 kB / 0.7087 GB, free: 97.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.8352, allocations: 352.5 kB / 0.709 GB, free: 97.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.8359, allocations: 443.1 kB / 0.7095 GB, free: 97.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/0.8368, allocations: 0.6563 MB / 0.7101 GB, free: 96.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.8375, allocations: 0.4929 MB / 0.7106 GB, free: 96.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.8376, allocations: 0 / 0.7106 GB, free: 96.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005949/0.8435, allocations: 2.624 MB / 0.7131 GB, free: 94.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.8439, allocations: 1.525 MB / 0.7146 GB, free: 92.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.8439, allocations: 7.938 kB / 0.7146 GB, free: 92.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00449/0.8484, allocations: 1.46 MB / 0.7161 GB, free: 91.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.849, allocations: 149.1 kB / 0.7162 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004296/0.8533, allocations: 4.326 MB / 0.7204 GB, free: 87.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.8552, allocations: 212.8 kB / 0.7206 GB, free: 86.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.8554, allocations: 51.89 kB / 0.7207 GB, free: 86.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8554, allocations: 6.031 kB / 0.7207 GB, free: 86.87 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00506/0.8605, allocations: 2.2 MB / 0.7228 GB, free: 84.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.8605, allocations: 4 kB / 0.7228 GB, free: 84.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004129/0.8647, allocations: 1.377 MB / 0.7242 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.8653, allocations: 151.8 kB / 0.7243 GB, free: 83.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005431/0.8707, allocations: 7.535 MB / 0.7317 GB, free: 75.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.8725, allocations: 155.1 kB / 0.7318 GB, free: 74.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.8727, allocations: 47.98 kB / 0.7319 GB, free: 74.91 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.000414/0.8731, allocations: 181.1 kB / 0.7321 GB, free: 74.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/0.8736, allocations: 150.1 kB / 0.7322 GB, free: 74.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.8778, allocations: 1.726 MB / 0.7339 GB, free: 72.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.8778, allocations: 8 kB / 0.7339 GB, free: 72.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.8779, allocations: 11.77 kB / 0.7339 GB, free: 72.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.8779, allocations: 3.984 kB / 0.7339 GB, free: 72.82 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.006864/0.8847, allocations: 3.548 MB / 0.7374 GB, free: 69.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.8848, allocations: 4 kB / 0.7374 GB, free: 69.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/0.8857, allocations: 195.8 kB / 0.7376 GB, free: 68.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/0.8873, allocations: 0.4912 MB / 0.738 GB, free: 68.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-05/0.8874, allocations: 20 kB / 0.7381 GB, free: 68.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004804/0.8922, allocations: 3.082 MB / 0.7411 GB, free: 65.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8922, allocations: 0 / 0.7411 GB, free: 65.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004955/0.8972, allocations: 2.367 MB / 0.7434 GB, free: 62.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.8979, allocations: 266.9 kB / 0.7436 GB, free: 62.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004194/0.8983, allocations: 24 kB / 0.7437 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.8997, allocations: 131.9 kB / 0.7438 GB, free: 62.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/0.9, allocations: 128.7 kB / 0.7439 GB, free: 62.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/0.9001, allocations: 36.3 kB / 0.7439 GB, free: 62.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001703/0.9018, allocations: 0.9181 MB / 0.7448 GB, free: 61.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9018, allocations: 0 / 0.7448 GB, free: 61.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002239/0.9041, allocations: 0.6315 MB / 0.7455 GB, free: 60.72 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.004966/0.9091, allocations: 3.022 MB / 0.7484 GB, free: 57.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006546/0.9156, allocations: 3.235 MB / 0.7516 GB, free: 54.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9156, allocations: 0 / 0.7516 GB, free: 54.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.9172, allocations: 0.9118 MB / 0.7525 GB, free: 53.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.9184, allocations: 167.4 kB / 0.7526 GB, free: 53.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.9236, allocations: 2.435 MB / 0.755 GB, free: 50.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/0.9243, allocations: 1.237 MB / 0.7562 GB, free: 49.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001096/0.9254, allocations: 229 kB / 0.7564 GB, free: 49.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005879/0.926, allocations: 0.5618 MB / 0.757 GB, free: 48.72 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/0.926, allocations: 0 / 0.757 GB, free: 48.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05993/0.986, allocations: 39.75 MB / 0.7958 GB, free: 9.273 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.9862, allocations: 178.8 kB / 0.796 GB, free: 9.043 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.193/4.179, allocations: 3.938 kB / 0.796 GB, free: 9.039 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)