Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Mostar,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_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.001674/0.001674, allocations: 176.2 kB / 7.649 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.511/1.511, allocations: 221.5 MB / 229.6 MB, free: 7.5 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.0009912/0.0009911, allocations: 97.48 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.4743/0.4743, allocations: 78.08 MB / 409.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.867e-05, allocations: 7.938 kB / 485 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1462, allocations: 69.34 MB / 0.5414 GB, free: 6.723 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.599, allocations: 106.3 MB / 0.6451 GB, free: 9.215 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5993, allocations: 71.97 kB / 0.6452 GB, free: 9.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.101/0.7003, allocations: 38.82 MB / 0.6831 GB, free: 2.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.7004, allocations: 0 / 0.6831 GB, free: 2.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001013/0.7005, allocations: 39.94 kB / 0.6832 GB, free: 2.371 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.003625/0.7041, allocations: 1.724 MB / 0.6848 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7042, allocations: 8.031 kB / 0.6848 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.7053, allocations: 277.6 kB / 0.6851 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.7071, allocations: 1.022 MB / 0.6861 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.7074, allocations: 168.8 kB / 0.6863 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.7076, allocations: 71.91 kB / 0.6863 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001591/0.7092, allocations: 0.8475 MB / 0.6872 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.711, allocations: 1.021 MB / 0.6882 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.711, allocations: 11.88 kB / 0.6882 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.7111, allocations: 0 / 0.6882 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.7111, allocations: 24 kB / 0.6882 GB, free: 13.01 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.008082/0.7192, allocations: 4.993 MB / 0.6931 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/0.7266, allocations: 2.645 MB / 0.6957 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008763/0.7275, allocations: 439 kB / 0.6961 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.7276, allocations: 29.23 kB / 0.6961 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009413/0.7286, allocations: 0.5813 MB / 0.6967 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=101): time 2.665e-06/0.7286, allocations: 0 / 0.6967 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101): time 0.00467/0.7333, allocations: 1.586 MB / 0.6982 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.7334, allocations: 282.3 kB / 0.6985 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.7351, allocations: 1.019 MB / 0.6995 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.7354, allocations: 25.7 kB / 0.6995 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.7359, allocations: 0.6619 MB / 0.7002 GB, free: 372 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.7362, allocations: 354.8 kB / 0.7005 GB, free: 12 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.7363, allocations: 0 / 0.7005 GB, free: 12 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.7365, allocations: 358 kB / 0.7008 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.7372, allocations: 414.6 kB / 0.7012 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008412/0.738, allocations: 0.6253 MB / 0.7018 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009438/0.739, allocations: 474.5 kB / 0.7023 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.739, allocations: 4 kB / 0.7023 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005428/0.7444, allocations: 2.235 MB / 0.7045 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006745/0.7451, allocations: 1.53 MB / 0.706 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.7452, allocations: 8 kB / 0.706 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004961/0.7501, allocations: 1.368 MB / 0.7073 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/0.751, allocations: 151.7 kB / 0.7075 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005356/0.7563, allocations: 4.389 MB / 0.7117 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.7583, allocations: 175.1 kB / 0.7119 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.7585, allocations: 47.98 kB / 0.712 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.7585, allocations: 4 kB / 0.712 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004065/0.7626, allocations: 1.755 MB / 0.7137 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.7626, allocations: 4 kB / 0.7137 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/0.7668, allocations: 1.264 MB / 0.7149 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.7673, allocations: 143.8 kB / 0.715 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006748/0.7741, allocations: 7.392 MB / 0.7223 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.7757, allocations: 134 kB / 0.7224 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.723e-05/0.7758, allocations: 40 kB / 0.7224 GB, free: 8.695 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real 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 (84): * Single equations (assignments): 78 * 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.0003939/0.7762, allocations: 143.1 kB / 0.7226 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004136/0.7803, allocations: 1.578 MB / 0.7241 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.7806, allocations: 150.1 kB / 0.7243 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/0.7848, allocations: 1.647 MB / 0.7259 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.7848, allocations: 12 kB / 0.7259 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7849, allocations: 0 / 0.7259 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.7849, allocations: 3.984 kB / 0.7259 GB, free: 5.133 MB / 0.5261 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.006251/0.7911, allocations: 3.31 MB / 0.7291 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.7912, allocations: 4 kB / 0.7291 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/0.7921, allocations: 196.4 kB / 0.7293 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/0.7939, allocations: 498.6 kB / 0.7298 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.794, allocations: 18.42 kB / 0.7298 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005105/0.7992, allocations: 2.982 MB / 0.7327 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7992, allocations: 0 / 0.7327 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/0.8047, allocations: 2.307 MB / 0.735 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.8052, allocations: 256.3 kB / 0.7352 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.8055, allocations: 4 kB / 0.7352 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.8066, allocations: 119.9 kB / 0.7353 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.8069, allocations: 125.1 kB / 0.7354 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.807, allocations: 31.94 kB / 0.7355 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001157/0.8081, allocations: 0.7696 MB / 0.7362 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8081, allocations: 0 / 0.7362 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001682/0.8098, allocations: 0.5533 MB / 0.7368 GB, free: 9.711 MB / 0.5417 GB 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.005123/0.815, allocations: 2.922 MB / 0.7396 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006978/0.822, allocations: 3.059 MB / 0.7426 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.822, allocations: 0 / 0.7426 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.8237, allocations: 0.8674 MB / 0.7434 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.8249, allocations: 147.9 kB / 0.7436 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.8297, allocations: 2.358 MB / 0.7459 GB, free: 184 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/0.8305, allocations: 1.24 MB / 0.7471 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00102/0.8315, allocations: 225.2 kB / 0.7473 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007346/0.8323, allocations: 0.5579 MB / 0.7479 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of SimCode: time 8.81e-07/0.8323, allocations: 0 / 0.7479 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3676/1.2, allocations: 36.21 MB / 0.7832 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/1.2, allocations: 120.5 kB / 0.7833 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.293/4.493, allocations: 0 / 0.7833 GB, free: 137.3 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)