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.0009381/0.0009381, allocations: 180.9 kB / 7.651 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.349/1.349, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.000846/0.0008463, allocations: 91.84 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4972/0.4972, allocations: 78.12 MB / 409.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/1.995e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.157, allocations: 69.35 MB / 0.5414 GB, free: 6.848 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.6461, allocations: 106.3 MB / 0.6452 GB, free: 9.332 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.6464, allocations: 72.5 kB / 0.6452 GB, free: 9.262 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1043/0.7508, allocations: 38.81 MB / 0.6831 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.7508, allocations: 0 / 0.6831 GB, free: 2.535 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001095/0.751, allocations: 39.94 kB / 0.6832 GB, free: 2.496 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.003751/0.7547, allocations: 1.728 MB / 0.6849 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.7548, allocations: 8.031 kB / 0.6849 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009703/0.7558, allocations: 278.1 kB / 0.6851 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.7573, allocations: 1.022 MB / 0.6861 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.7576, allocations: 176.8 kB / 0.6863 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.7577, allocations: 63.91 kB / 0.6864 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001528/0.7593, allocations: 0.8459 MB / 0.6872 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.761, allocations: 1.029 MB / 0.6882 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.761, allocations: 7.875 kB / 0.6882 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.7611, allocations: 0 / 0.6882 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.7611, allocations: 28 kB / 0.6882 GB, free: 13.12 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.007401/0.7685, allocations: 4.984 MB / 0.6931 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0075/0.776, allocations: 2.643 MB / 0.6957 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009764/0.7771, allocations: 437.8 kB / 0.6961 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.7772, allocations: 27.12 kB / 0.6961 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009814/0.7782, allocations: 0.5785 MB / 0.6967 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/0.7782, allocations: 0 / 0.6967 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101): time 0.00464/0.7828, allocations: 1.59 MB / 0.6982 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.783, allocations: 270.3 kB / 0.6985 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.7848, allocations: 1.023 MB / 0.6995 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.785, allocations: 25.7 kB / 0.6995 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.7855, allocations: 0.6736 MB / 0.7002 GB, free: 496 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000349/0.7859, allocations: 354.8 kB / 0.7005 GB, free: 136 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.7859, allocations: 0 / 0.7005 GB, free: 136 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7861, allocations: 353.9 kB / 0.7009 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.7868, allocations: 414.6 kB / 0.7013 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008695/0.7877, allocations: 0.6214 MB / 0.7019 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/0.7886, allocations: 482.6 kB / 0.7023 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.7886, allocations: 0 / 0.7023 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005389/0.794, allocations: 2.235 MB / 0.7045 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007263/0.7948, allocations: 1.532 MB / 0.706 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.7948, allocations: 7.438 kB / 0.706 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004738/0.7995, allocations: 1.372 MB / 0.7074 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/0.8002, allocations: 147.7 kB / 0.7075 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005464/0.8057, allocations: 4.393 MB / 0.7118 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.8077, allocations: 171.1 kB / 0.7119 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.8078, allocations: 51.98 kB / 0.712 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.8078, allocations: 4 kB / 0.712 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004134/0.812, allocations: 1.749 MB / 0.7137 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.812, allocations: 4 kB / 0.7137 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004378/0.8164, allocations: 1.263 MB / 0.7149 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.8171, allocations: 151.7 kB / 0.7151 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00734/0.8244, allocations: 7.384 MB / 0.7223 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.8263, allocations: 127.1 kB / 0.7224 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.8264, allocations: 47.98 kB / 0.7225 GB, free: 8.824 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.000424/0.8269, allocations: 142.2 kB / 0.7226 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004426/0.8313, allocations: 1.582 MB / 0.7241 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.8318, allocations: 154.1 kB / 0.7243 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004495/0.8363, allocations: 1.639 MB / 0.7259 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.8363, allocations: 12 kB / 0.7259 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8363, allocations: 0 / 0.7259 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.8364, allocations: 7.969 kB / 0.7259 GB, free: 5.258 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.006701/0.8431, allocations: 3.313 MB / 0.7292 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8431, allocations: 4.688 kB / 0.7292 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00097/0.8441, allocations: 191.8 kB / 0.7293 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.8459, allocations: 498.6 kB / 0.7298 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.846, allocations: 8 kB / 0.7298 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00527/0.8513, allocations: 2.989 MB / 0.7327 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.8513, allocations: 8 kB / 0.7327 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005668/0.857, allocations: 2.3 MB / 0.735 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/0.8577, allocations: 251.9 kB / 0.7352 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.8579, allocations: 4 kB / 0.7352 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.8591, allocations: 119.9 kB / 0.7354 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/0.8594, allocations: 125.1 kB / 0.7355 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/0.8595, allocations: 35.94 kB / 0.7355 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001178/0.8607, allocations: 0.7657 MB / 0.7363 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8607, allocations: 0 / 0.7363 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001782/0.8625, allocations: 0.5494 MB / 0.7368 GB, free: 9.844 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.005847/0.8683, allocations: 2.934 MB / 0.7397 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007478/0.8759, allocations: 3.059 MB / 0.7426 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.8759, allocations: 6.406 kB / 0.7427 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.8777, allocations: 0.8669 MB / 0.7435 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.8791, allocations: 144.2 kB / 0.7436 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.8839, allocations: 2.354 MB / 0.7459 GB, free: 308 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008389/0.8847, allocations: 1.24 MB / 0.7471 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009829/0.8857, allocations: 218.5 kB / 0.7474 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007454/0.8865, allocations: 0.5579 MB / 0.7479 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/0.8865, allocations: 0 / 0.7479 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3457/1.232, allocations: 36.21 MB / 0.7833 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/1.232, allocations: 134.8 kB / 0.7834 GB, free: 137 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/4.737, allocations: 1.969 kB / 0.7834 GB, free: 137 MB / 0.5573 GB (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)