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.001061/0.001061, 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.291/1.291, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.0008205/0.0008203, allocations: 91.61 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4702/0.4702, allocations: 78.95 MB / 410.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.802e-05, allocations: 3.984 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 69.52 MB / 0.5425 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.54, allocations: 106.9 MB / 0.6469 GB, free: 7.137 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5403, allocations: 72.5 kB / 0.647 GB, free: 7.066 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09959/0.6399, allocations: 36.16 MB / 0.6823 GB, free: 3.008 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.64, allocations: 4 kB / 0.6823 GB, free: 3.004 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001845/0.6402, allocations: 35.98 kB / 0.6823 GB, free: 2.969 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.004957/0.6451, allocations: 1.72 MB / 0.684 GB, free: 1.195 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6452, allocations: 12.03 kB / 0.684 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/0.6481, allocations: 497.3 kB / 0.6845 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.6505, allocations: 1.08 MB / 0.6856 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.6508, allocations: 172.7 kB / 0.6857 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.6511, allocations: 75.89 kB / 0.6858 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002027/0.6532, allocations: 0.8436 MB / 0.6866 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.6551, allocations: 1.021 MB / 0.6876 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.6551, allocations: 7.938 kB / 0.6876 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/0.6552, allocations: 0 / 0.6876 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.6552, allocations: 24 kB / 0.6877 GB, free: 13.33 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.008841/0.6641, allocations: 5.131 MB / 0.6927 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007381/0.6715, allocations: 2.648 MB / 0.6953 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.6721, allocations: 433.8 kB / 0.6957 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.002e-05/0.6722, allocations: 29.23 kB / 0.6957 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008823/0.6731, allocations: 0.5747 MB / 0.6963 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=101): time 2.485e-06/0.6731, allocations: 0 / 0.6963 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101): time 0.004307/0.6774, allocations: 1.596 MB / 0.6978 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6776, allocations: 274.3 kB / 0.6981 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.6791, allocations: 1.093 MB / 0.6991 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-05/0.6792, allocations: 25.7 kB / 0.6992 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005042/0.6797, allocations: 0.6619 MB / 0.6998 GB, free: 492 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.68, allocations: 358.8 kB / 0.7002 GB, free: 128 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.6801, allocations: 4.031 kB / 0.7002 GB, free: 124 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.6803, allocations: 349.9 kB / 0.7005 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/0.6809, allocations: 410.6 kB / 0.7009 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/0.6817, allocations: 0.6331 MB / 0.7015 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/0.6826, allocations: 470.6 kB / 0.702 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6826, allocations: 4 kB / 0.702 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004945/0.6875, allocations: 2.242 MB / 0.7041 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005536/0.6881, allocations: 1.528 MB / 0.7056 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.6881, allocations: 4 kB / 0.7056 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004493/0.6926, allocations: 1.372 MB / 0.707 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.6932, allocations: 143.8 kB / 0.7071 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004945/0.6982, allocations: 4.388 MB / 0.7114 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.6998, allocations: 183 kB / 0.7116 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.7, allocations: 48.75 kB / 0.7116 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.7, allocations: 4 kB / 0.7116 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004082/0.7041, allocations: 1.759 MB / 0.7133 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.7041, allocations: 4 kB / 0.7133 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004275/0.7084, allocations: 1.256 MB / 0.7146 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.709, allocations: 147.8 kB / 0.7147 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007285/0.7163, allocations: 7.394 MB / 0.7219 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.718, allocations: 135.1 kB / 0.7221 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/0.7181, allocations: 43.94 kB / 0.7221 GB, free: 8.801 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.0003871/0.7185, allocations: 130 kB / 0.7222 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004047/0.7226, allocations: 1.582 MB / 0.7238 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.7228, allocations: 150.1 kB / 0.7239 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.727, allocations: 1.651 MB / 0.7255 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.727, allocations: 12 kB / 0.7255 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.727, allocations: 3.125 kB / 0.7255 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.727, allocations: 3.984 kB / 0.7256 GB, free: 5.238 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.006033/0.733, allocations: 3.376 MB / 0.7288 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7331, allocations: 0 / 0.7288 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009095/0.734, allocations: 191.8 kB / 0.729 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/0.7357, allocations: 499.8 kB / 0.7295 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/0.7357, allocations: 11.98 kB / 0.7295 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.7405, allocations: 2.981 MB / 0.7324 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7405, allocations: 4.75 kB / 0.7324 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005284/0.7458, allocations: 2.302 MB / 0.7347 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.7464, allocations: 262.9 kB / 0.7349 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.7466, allocations: 8 kB / 0.7349 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.7477, allocations: 119.9 kB / 0.7351 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.748, allocations: 121.1 kB / 0.7352 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/0.7481, allocations: 35.64 kB / 0.7352 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001205/0.7493, allocations: 0.8243 MB / 0.736 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7493, allocations: 0.9375 kB / 0.736 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00168/0.751, allocations: 0.5611 MB / 0.7366 GB, free: 9.688 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.005176/0.7562, allocations: 2.931 MB / 0.7394 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00672/0.7629, allocations: 3.051 MB / 0.7424 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7629, allocations: 4 kB / 0.7424 GB, free: 3.578 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.7646, allocations: 0.8713 MB / 0.7433 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.7657, allocations: 152.6 kB / 0.7434 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.7702, allocations: 2.35 MB / 0.7457 GB, free: 148 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/0.7709, allocations: 1.236 MB / 0.7469 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009565/0.7719, allocations: 220.8 kB / 0.7471 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/0.7726, allocations: 0.5617 MB / 0.7477 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of SimCode: time 7.12e-07/0.7726, allocations: 0 / 0.7477 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3571/1.13, allocations: 36.6 MB / 0.7834 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/1.13, allocations: 127.6 kB / 0.7835 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.274/4.404, allocations: 0 / 0.7835 GB, free: 136.9 MB / 0.5573 GB (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)