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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001093, 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.381/1.381, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008501/0.0008501, allocations: 91.39 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.5272/0.5272, allocations: 78.93 MB / 410.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.194e-05/1.204e-05, allocations: 0 / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1877, allocations: 69.52 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4206/0.6083, allocations: 106.9 MB / 0.6468 GB, free: 7.219 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.6086, allocations: 73.25 kB / 0.6469 GB, free: 7.148 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09594/0.7045, allocations: 36.16 MB / 0.6822 GB, free: 3.078 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7046, allocations: 0 / 0.6822 GB, free: 3.078 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.7047, allocations: 32 kB / 0.6822 GB, free: 3.047 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.004424/0.7092, allocations: 1.728 MB / 0.6839 GB, free: 1.266 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7092, allocations: 12.03 kB / 0.6839 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002412/0.7116, allocations: 495.1 kB / 0.6844 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.7136, allocations: 1.08 MB / 0.6855 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/0.7139, allocations: 164.8 kB / 0.6856 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.714, allocations: 63.91 kB / 0.6857 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001676/0.7157, allocations: 0.8514 MB / 0.6865 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.7174, allocations: 1.029 MB / 0.6875 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.7175, allocations: 3.938 kB / 0.6875 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.931e-05/0.7176, allocations: 4 kB / 0.6875 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.7176, allocations: 24 kB / 0.6876 GB, free: 13.41 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.009102/0.7267, allocations: 5.129 MB / 0.6926 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007685/0.7344, allocations: 2.641 MB / 0.6951 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008335/0.7353, allocations: 437.8 kB / 0.6956 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.179e-05/0.7354, allocations: 25.19 kB / 0.6956 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009623/0.7363, allocations: 0.5708 MB / 0.6961 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=101): time 2.756e-06/0.7364, allocations: 4 kB / 0.6961 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101): time 0.004608/0.741, allocations: 1.598 MB / 0.6977 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.7411, allocations: 270.3 kB / 0.698 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.7429, allocations: 1.093 MB / 0.699 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.7431, allocations: 27.48 kB / 0.6991 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.7436, allocations: 0.6697 MB / 0.6997 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.7439, allocations: 354.8 kB / 0.7 GB, free: 208 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.744, allocations: 0 / 0.7 GB, free: 208 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.7442, allocations: 358 kB / 0.7004 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.7449, allocations: 414.6 kB / 0.7008 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/0.7457, allocations: 0.6221 MB / 0.7014 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008877/0.7466, allocations: 486.6 kB / 0.7019 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.7466, allocations: 0 / 0.7019 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005304/0.7519, allocations: 2.239 MB / 0.704 GB, free: 12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006792/0.7526, allocations: 1.524 MB / 0.7055 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.7526, allocations: 4 kB / 0.7055 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004737/0.7574, allocations: 1.378 MB / 0.7069 GB, free: 9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.758, allocations: 143.8 kB / 0.707 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005443/0.7635, allocations: 4.388 MB / 0.7113 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.7653, allocations: 179 kB / 0.7115 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.7655, allocations: 43.98 kB / 0.7115 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.7655, allocations: 7 kB / 0.7115 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004111/0.7696, allocations: 1.755 MB / 0.7132 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.7696, allocations: 4 kB / 0.7132 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0044/0.774, allocations: 1.268 MB / 0.7145 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.7747, allocations: 147.8 kB / 0.7146 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.7819, allocations: 7.395 MB / 0.7218 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.7837, allocations: 131.1 kB / 0.722 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.7838, allocations: 47.98 kB / 0.722 GB, free: 8.875 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.0003826/0.7842, allocations: 126 kB / 0.7221 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.7845, allocations: 150.2 kB / 0.7223 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/0.7888, allocations: 1.648 MB / 0.7239 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.7889, allocations: 8 kB / 0.7239 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7889, allocations: 4 kB / 0.7239 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.7889, allocations: 3.984 kB / 0.7239 GB, free: 6.914 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.006635/0.7955, allocations: 3.368 MB / 0.7272 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7956, allocations: 4.031 kB / 0.7272 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/0.7965, allocations: 190.3 kB / 0.7274 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.7983, allocations: 498.3 kB / 0.7278 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.7984, allocations: 12.92 kB / 0.7279 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005153/0.8036, allocations: 2.989 MB / 0.7308 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.8036, allocations: 4 kB / 0.7308 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/0.8092, allocations: 2.306 MB / 0.733 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007009/0.81, allocations: 262.9 kB / 0.7333 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004223/0.8104, allocations: 8 kB / 0.7333 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.8118, allocations: 115.9 kB / 0.7334 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003203/0.8121, allocations: 125.1 kB / 0.7335 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.632e-05/0.8122, allocations: 28 kB / 0.7335 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001584/0.8138, allocations: 0.8166 MB / 0.7343 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8138, allocations: 5.781 kB / 0.7344 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002306/0.8162, allocations: 0.565 MB / 0.7349 GB, free: 11.37 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.0004135/0.8166, allocations: 158.5 kB / 0.7351 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007313/0.8239, allocations: 3.063 MB / 0.738 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.8239, allocations: 0 / 0.738 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.8258, allocations: 0.8751 MB / 0.7389 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.8271, allocations: 148.6 kB / 0.739 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.8319, allocations: 2.122 MB / 0.7411 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.8329, allocations: 1.236 MB / 0.7423 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001228/0.8342, allocations: 220 kB / 0.7425 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.8344, allocations: 71.42 kB / 0.7426 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.8344, allocations: 0 / 0.7426 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of Templates: time 0.3002/1.135, allocations: 24.43 MB / 0.7665 GB, free: 140.9 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)