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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001262/0.001262, allocations: 172.7 kB / 16.1 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240.1 MB, free: 11.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.0009998, allocations: 98.33 kB / 291.3 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6502/0.6502, allocations: 78.62 MB / 421 MB, free: 9.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004345, allocations: 11.94 kB / 0.4894 GB, free: 9.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.355, allocations: 69.34 MB / 0.5571 GB, free: 18.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Mostar): time 0.005385/0.3605, allocations: 6.923 MB / 0.5639 GB, free: 11.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003619/0.3641, allocations: 2.718 MB / 0.5665 GB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.3647, allocations: 23.88 kB / 0.5666 GB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.3651, allocations: 210.5 kB / 0.5668 GB, free: 8.863 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.367, allocations: 0.9669 MB / 0.5677 GB, free: 7.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3683, allocations: 0.8224 MB / 0.5685 GB, free: 7.082 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.3698, allocations: 2.094 MB / 0.5706 GB, free: 4.984 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.3703, allocations: 0.5339 MB / 0.5711 GB, free: 4.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.3708, allocations: 0.6296 MB / 0.5717 GB, free: 3.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006948/0.3716, allocations: 0.8043 MB / 0.5725 GB, free: 2.973 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.3717, allocations: 68 kB / 0.5725 GB, free: 2.906 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006057/0.3723, allocations: 283.8 kB / 0.5728 GB, free: 2.629 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.3726, allocations: 310.4 kB / 0.5731 GB, free: 2.324 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.3731, allocations: 0.7663 MB / 0.5739 GB, free: 1.547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.3743, allocations: 1.802 MB / 0.5756 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3743, allocations: 3.984 kB / 0.5756 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3743, allocations: 0 / 0.5756 GB, free: 15.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.3743, allocations: 0 / 0.5756 GB, free: 15.74 MB / 394.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.009262/0.3836, allocations: 3.034 MB / 0.5786 GB, free: 12.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3836, allocations: 8.031 kB / 0.5786 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.385, allocations: 326.5 kB / 0.5789 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.3866, allocations: 1.109 MB / 0.58 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.3869, allocations: 217.2 kB / 0.5802 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.3871, allocations: 123.9 kB / 0.5803 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.3896, allocations: 1.384 MB / 0.5817 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.3896, allocations: 0 / 0.5817 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3898, allocations: 44 kB / 0.5817 GB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.3898, allocations: 24 kB / 0.5817 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.3925, allocations: 1.269 MB / 0.583 GB, free: 8.012 MB / 394.7 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.008275/0.4008, allocations: 5.322 MB / 0.5882 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008423/0.4093, allocations: 3.021 MB / 0.5911 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.4106, allocations: 0.6371 MB / 0.5917 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.4107, allocations: 24.97 kB / 0.5918 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/0.4124, allocations: 0.7944 MB / 0.5925 GB, free: 13.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 4.849e-06/0.4124, allocations: 0 / 0.5925 GB, free: 13.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=101): time 0.01006/0.4225, allocations: 3.407 MB / 0.5959 GB, free: 10.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.4226, allocations: 270 kB / 0.5961 GB, free: 10.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.4247, allocations: 1.361 MB / 0.5975 GB, free: 8.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.4248, allocations: 57.73 kB / 0.5975 GB, free: 8.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005155/0.4253, allocations: 0.6344 MB / 0.5981 GB, free: 8.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.4257, allocations: 374.7 kB / 0.5985 GB, free: 7.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.4259, allocations: 177.6 kB / 0.5987 GB, free: 7.465 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.426, allocations: 301.1 kB / 0.5989 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.4278, allocations: 0.8121 MB / 0.5997 GB, free: 6.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.4297, allocations: 1.084 MB / 0.6008 GB, free: 5.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/0.4331, allocations: 1.751 MB / 0.6025 GB, free: 3.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4332, allocations: 0 / 0.6025 GB, free: 3.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01009/0.4433, allocations: 3.979 MB / 0.6064 GB, free: 15.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.4434, allocations: 218.5 kB / 0.6066 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4435, allocations: 4 kB / 0.6066 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005644/0.4491, allocations: 1.689 MB / 0.6083 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.4502, allocations: 251.6 kB / 0.6085 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.4627, allocations: 9.183 MB / 0.6175 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.4648, allocations: 258.4 kB / 0.6177 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.465, allocations: 63.92 kB / 0.6178 GB, free: 3.102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.465, allocations: 4 kB / 0.6178 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007966/0.473, allocations: 3.14 MB / 0.6208 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.473, allocations: 4 kB / 0.6208 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005033/0.478, allocations: 1.564 MB / 0.6224 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4791, allocations: 255.7 kB / 0.6226 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00793/0.487, allocations: 7.759 MB / 0.6302 GB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4886, allocations: 182.8 kB / 0.6304 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.4887, allocations: 63.98 kB / 0.6304 GB, free: 5.547 MB / 442.7 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 (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,4), (1,4), (1,4), (1,4), (10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0007985/0.4895, allocations: 411.4 kB / 0.6308 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.4897, allocations: 154.1 kB / 0.631 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005756/0.4955, allocations: 2.167 MB / 0.6331 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.4955, allocations: 12 kB / 0.6331 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4955, allocations: 384 / 0.6331 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.4955, allocations: 3.984 kB / 0.6331 GB, free: 2.785 MB / 442.7 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.007671/0.5032, allocations: 4.005 MB / 0.637 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5032, allocations: 0 / 0.637 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008986/0.5041, allocations: 203.7 kB / 0.6372 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/0.5064, allocations: 0.6573 MB / 0.6378 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.5065, allocations: 31.92 kB / 0.6379 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007069/0.5135, allocations: 3.654 MB / 0.6414 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5136, allocations: 0 / 0.6414 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007517/0.5211, allocations: 3.005 MB / 0.6444 GB, free: 6.938 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.5218, allocations: 254.9 kB / 0.6446 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.522, allocations: 24 kB / 0.6446 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5231, allocations: 131.9 kB / 0.6448 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/0.5235, allocations: 128.7 kB / 0.6449 GB, free: 6.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.5235, allocations: 31.98 kB / 0.6449 GB, free: 6.359 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001394/0.5249, allocations: 0.8959 MB / 0.6458 GB, free: 5.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5249, allocations: 0 / 0.6458 GB, free: 5.465 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002093/0.527, allocations: 0.7214 MB / 0.6465 GB, free: 4.742 MB / 458.7 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003342/0.5274, allocations: 151 kB / 0.6466 GB, free: 4.586 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009637/0.537, allocations: 4.696 MB / 0.6512 GB, free: 15.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5371, allocations: 256 / 0.6512 GB, free: 15.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.5393, allocations: 1.068 MB / 0.6523 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.5407, allocations: 182.3 kB / 0.6524 GB, free: 14.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.5461, allocations: 3.57 MB / 0.6559 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008156/0.5469, allocations: 1.208 MB / 0.6571 GB, free: 9.621 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.5473, allocations: 95.41 kB / 0.6572 GB, free: 9.527 MB / 474.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5473, allocations: 0 / 0.6572 GB, free: 9.527 MB / 474.7 MB Notification: Performance of Templates: time 0.332/0.8792, allocations: 43.89 MB / 0.7001 GB, free: 107.3 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (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 & ./OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)