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.001276/0.001276, allocations: 174.9 kB / 16.07 MB, free: 5.609 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.278/1.278, allocations: 222.8 MB / 239.7 MB, free: 11.9 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.0007386/0.0007387, allocations: 86.84 kB / 290.5 MB, free: 11.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.483/0.483, allocations: 78.41 MB / 419.6 MB, free: 9.809 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 12.22 kB / 499.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2724, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Mostar): time 0.005847/0.2783, allocations: 7.424 MB / 0.5618 GB, free: 12.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004318/0.2826, allocations: 2.749 MB / 0.5644 GB, free: 10.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007527/0.2834, allocations: 23.94 kB / 0.5645 GB, free: 9.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006558/0.2841, allocations: 206.4 kB / 0.5647 GB, free: 9.781 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.2864, allocations: 0.9682 MB / 0.5656 GB, free: 8.816 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.2877, allocations: 0.8369 MB / 0.5664 GB, free: 7.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.2891, allocations: 2.089 MB / 0.5685 GB, free: 5.895 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005091/0.2896, allocations: 0.5417 MB / 0.569 GB, free: 5.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004799/0.2901, allocations: 0.6257 MB / 0.5696 GB, free: 4.688 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.2907, allocations: 0.8004 MB / 0.5704 GB, free: 3.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.2908, allocations: 68 kB / 0.5705 GB, free: 3.816 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.2913, allocations: 287.8 kB / 0.5707 GB, free: 3.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.2914, allocations: 302.4 kB / 0.571 GB, free: 3.238 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.2918, allocations: 0.7412 MB / 0.5717 GB, free: 2.492 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.2929, allocations: 1.806 MB / 0.5735 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2929, allocations: 0 / 0.5735 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2929, allocations: 0 / 0.5735 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.2929, allocations: 0 / 0.5735 GB, free: 0.6836 MB / 378.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.009129/0.302, allocations: 2.944 MB / 0.5764 GB, free: 13.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3021, allocations: 8.031 kB / 0.5764 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.3034, allocations: 322.4 kB / 0.5767 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.3049, allocations: 1.109 MB / 0.5778 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.3052, allocations: 213.2 kB / 0.578 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.3054, allocations: 119.9 kB / 0.5781 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.3077, allocations: 1.337 MB / 0.5794 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.3078, allocations: 0 / 0.5794 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.3079, allocations: 44 kB / 0.5794 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.3079, allocations: 24 kB / 0.5795 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.3105, allocations: 1.171 MB / 0.5806 GB, free: 9.199 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.007455/0.318, allocations: 5.267 MB / 0.5857 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007558/0.3255, allocations: 2.552 MB / 0.5882 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.3268, allocations: 0.5825 MB / 0.5888 GB, free: 488 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.325e-05/0.3269, allocations: 24.92 kB / 0.5888 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/0.3285, allocations: 0.7397 MB / 0.5896 GB, free: 15.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 3.386e-06/0.3285, allocations: 0 / 0.5896 GB, free: 15.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=101): time 0.009226/0.3377, allocations: 3.016 MB / 0.5925 GB, free: 12.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.3379, allocations: 274 kB / 0.5928 GB, free: 12.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.3398, allocations: 1.357 MB / 0.5941 GB, free: 10.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.34, allocations: 45.7 kB / 0.5941 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005143/0.3405, allocations: 0.6382 MB / 0.5948 GB, free: 10.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.3409, allocations: 382.7 kB / 0.5951 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3411, allocations: 177.6 kB / 0.5953 GB, free: 9.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3412, allocations: 301.1 kB / 0.5956 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.3429, allocations: 0.7535 MB / 0.5963 GB, free: 8.629 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.3447, allocations: 1.034 MB / 0.5973 GB, free: 7.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.3478, allocations: 1.63 MB / 0.5989 GB, free: 5.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3478, allocations: 3.938 kB / 0.5989 GB, free: 5.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.009511/0.3573, allocations: 3.569 MB / 0.6024 GB, free: 2.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.3575, allocations: 216.1 kB / 0.6026 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3575, allocations: 4.078 kB / 0.6026 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/0.3629, allocations: 1.533 MB / 0.6041 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3641, allocations: 247.6 kB / 0.6043 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.3754, allocations: 8.746 MB / 0.6129 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.3773, allocations: 226.4 kB / 0.6131 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.3774, allocations: 63.92 kB / 0.6132 GB, free: 6.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.3775, allocations: 4 kB / 0.6132 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00748/0.3849, allocations: 2.926 MB / 0.616 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.385, allocations: 4 kB / 0.616 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/0.3898, allocations: 1.424 MB / 0.6174 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.3909, allocations: 251.6 kB / 0.6177 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007444/0.3984, allocations: 7.704 MB / 0.6252 GB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.4, allocations: 170.7 kB / 0.6253 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.4001, allocations: 63.98 kB / 0.6254 GB, free: 9.449 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.000684/0.4008, allocations: 411.7 kB / 0.6258 GB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.401, allocations: 150.1 kB / 0.6259 GB, free: 8.891 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005224/0.4062, allocations: 1.928 MB / 0.6278 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4063, allocations: 12 kB / 0.6278 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4063, allocations: 0 / 0.6278 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4063, allocations: 7.969 kB / 0.6278 GB, free: 6.922 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.007277/0.4136, allocations: 3.779 MB / 0.6315 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4136, allocations: 384 / 0.6315 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008303/0.4144, allocations: 175.8 kB / 0.6317 GB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/0.4165, allocations: 0.5736 MB / 0.6323 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.094e-05/0.4166, allocations: 35.92 kB / 0.6323 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006446/0.4231, allocations: 3.46 MB / 0.6357 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4231, allocations: 3.938 kB / 0.6357 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006524/0.4296, allocations: 2.72 MB / 0.6383 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.4301, allocations: 246.9 kB / 0.6386 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.4303, allocations: 32 kB / 0.6386 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009635/0.4313, allocations: 103.9 kB / 0.6387 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.4316, allocations: 124.8 kB / 0.6388 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.4316, allocations: 27.98 kB / 0.6388 GB, free: 11.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001219/0.4329, allocations: 0.892 MB / 0.6397 GB, free: 10.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4329, allocations: 3.938 kB / 0.6397 GB, free: 10.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001857/0.4347, allocations: 0.7175 MB / 0.6404 GB, free: 9.73 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.000317/0.4351, allocations: 143.1 kB / 0.6406 GB, free: 9.582 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00893/0.444, allocations: 4.403 MB / 0.6449 GB, free: 5.039 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4441, allocations: 0 / 0.6449 GB, free: 5.039 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00212/0.4462, allocations: 0.9865 MB / 0.6458 GB, free: 4.016 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.4474, allocations: 185.1 kB / 0.646 GB, free: 3.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.4524, allocations: 3.413 MB / 0.6493 GB, free: 400 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.4531, allocations: 1.212 MB / 0.6505 GB, free: 15.15 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.4535, allocations: 87.42 kB / 0.6506 GB, free: 15.06 MB / 474.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4535, allocations: 0 / 0.6506 GB, free: 15.06 MB / 474.7 MB Notification: Performance of Templates: time 0.2523/0.7058, allocations: 43.89 MB / 0.6935 GB, free: 111.7 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)