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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.2 MB / 238.9 MB, free: 5.672 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 177 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4113/0.4113, allocations: 78.52 MB / 419.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003328, allocations: 11.98 kB / 499.7 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 69.37 MB / 0.5557 GB, free: 1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Mostar): time 0.1859/0.2951, allocations: 6.287 MB / 0.5618 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.2993, allocations: 2.615 MB / 0.5644 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.3004, allocations: 23.75 kB / 0.5644 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.301, allocations: 173.7 kB / 0.5646 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.3035, allocations: 0.9297 MB / 0.5655 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3049, allocations: 0.6025 MB / 0.5661 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.3069, allocations: 1.329 MB / 0.5674 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.3074, allocations: 456.8 kB / 0.5678 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007291/0.3082, allocations: 0.5925 MB / 0.5684 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.309, allocations: 0.7697 MB / 0.5691 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.3092, allocations: 70.25 kB / 0.5692 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005145/0.3097, allocations: 254.5 kB / 0.5694 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.3099, allocations: 304.8 kB / 0.5697 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.3101, allocations: 291.5 kB / 0.57 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.3113, allocations: 1.79 MB / 0.5718 GB, free: 35.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.3114, allocations: 0 / 0.5718 GB, free: 35.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3114, allocations: 0 / 0.5718 GB, free: 35.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.565e-05/0.3114, allocations: 8.688 kB / 0.5718 GB, free: 35.28 MB / 430.1 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.009039/0.3204, allocations: 3.042 MB / 0.5747 GB, free: 34.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3205, allocations: 9.781 kB / 0.5747 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.3218, allocations: 324 kB / 0.5751 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.3233, allocations: 1.055 MB / 0.5761 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.3235, allocations: 221.4 kB / 0.5763 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.3237, allocations: 111.8 kB / 0.5764 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.3258, allocations: 1.378 MB / 0.5777 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3259, allocations: 0 / 0.5777 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/0.326, allocations: 42.78 kB / 0.5778 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.326, allocations: 23.31 kB / 0.5778 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.3284, allocations: 1.263 MB / 0.579 GB, free: 32.02 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006533/0.3349, allocations: 5.404 MB / 0.5843 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008077/0.343, allocations: 3.018 MB / 0.5873 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.3432, allocations: 16.64 kB / 0.5873 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.3448, allocations: 0.7947 MB / 0.5881 GB, free: 27.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=101): time 3.346e-06/0.3449, allocations: 0 / 0.5881 GB, free: 27.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=101): time 0.009598/0.3545, allocations: 3.394 MB / 0.5914 GB, free: 26.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3546, allocations: 270.1 kB / 0.5916 GB, free: 25.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.3563, allocations: 1.355 MB / 0.593 GB, free: 25.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.3564, allocations: 50.98 kB / 0.593 GB, free: 25.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.3568, allocations: 0.6358 MB / 0.5936 GB, free: 24.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.357, allocations: 378.5 kB / 0.594 GB, free: 24.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.3571, allocations: 39.38 kB / 0.594 GB, free: 24.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.3572, allocations: 370.6 kB / 0.5944 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.3588, allocations: 0.7989 MB / 0.5952 GB, free: 23.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.3606, allocations: 1.066 MB / 0.5962 GB, free: 23.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.3623, allocations: 0.8725 MB / 0.5971 GB, free: 22.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3623, allocations: 5.031 kB / 0.5971 GB, free: 22.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008885/0.3712, allocations: 3.72 MB / 0.6007 GB, free: 21.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.3714, allocations: 1.511 MB / 0.6022 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3714, allocations: 9.484 kB / 0.6022 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005772/0.3772, allocations: 1.834 MB / 0.604 GB, free: 19.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.3783, allocations: 252.1 kB / 0.6042 GB, free: 19.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.389, allocations: 9.289 MB / 0.6133 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.3909, allocations: 261 kB / 0.6135 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.3911, allocations: 64.17 kB / 0.6136 GB, free: 12.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.3911, allocations: 2.625 kB / 0.6136 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006972/0.3981, allocations: 2.963 MB / 0.6165 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3981, allocations: 4.656 kB / 0.6165 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004821/0.4029, allocations: 1.569 MB / 0.618 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.404, allocations: 255.1 kB / 0.6183 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/0.41, allocations: 7.811 MB / 0.6259 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.4115, allocations: 196.8 kB / 0.6261 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.4116, allocations: 63.03 kB / 0.6261 GB, free: 3.648 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 147 * 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.0006674/0.4123, allocations: 404 kB / 0.6265 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.4126, allocations: 154.8 kB / 0.6267 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005296/0.4179, allocations: 2.165 MB / 0.6288 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.4179, allocations: 12.66 kB / 0.6288 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4179, allocations: 0 / 0.6288 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.4179, allocations: 9.391 kB / 0.6288 GB, free: 1.293 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007939/0.4259, allocations: 3.994 MB / 0.6327 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.4259, allocations: 7.984 kB / 0.6327 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008895/0.4268, allocations: 191.8 kB / 0.6329 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.429, allocations: 0.6572 MB / 0.6335 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.12e-05/0.4291, allocations: 23.98 kB / 0.6336 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007011/0.4362, allocations: 3.773 MB / 0.6372 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4362, allocations: 0 / 0.6372 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/0.4431, allocations: 3.018 MB / 0.6402 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.4436, allocations: 250.9 kB / 0.6404 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.4438, allocations: 20 kB / 0.6405 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.445, allocations: 136.5 kB / 0.6406 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.4452, allocations: 136.6 kB / 0.6407 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/0.4453, allocations: 24 kB / 0.6407 GB, free: 5.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.4465, allocations: 0.8881 MB / 0.6416 GB, free: 4.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4465, allocations: 3.938 kB / 0.6416 GB, free: 4.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001938/0.4485, allocations: 0.7137 MB / 0.6423 GB, free: 3.641 MB / 446.1 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 () * Number of clocked 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.0002682/0.4488, allocations: 145.9 kB / 0.6424 GB, free: 3.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009113/0.4579, allocations: 4.677 MB / 0.647 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4579, allocations: 0 / 0.647 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.46, allocations: 1.084 MB / 0.6481 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008028/0.4609, allocations: 151.2 kB / 0.6482 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/0.4657, allocations: 3.362 MB / 0.6515 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.4664, allocations: 1.239 MB / 0.6527 GB, free: 8.816 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006688/0.4671, allocations: 162.8 kB / 0.6529 GB, free: 8.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.4674, allocations: 87.42 kB / 0.6529 GB, free: 8.574 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4674, allocations: 0 / 0.6529 GB, free: 8.574 MB / 462.1 MB Notification: Performance of Templates: time 0.03754/0.505, allocations: 25.94 MB / 0.6783 GB, free: 14.8 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile Environment - environmentSimulation: (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 & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1) Environment - environmentSimulation: