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.0009467/0.0009467, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.354/1.354, allocations: 223.3 MB / 239 MB, free: 5.527 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.00123/0.00123, allocations: 168.6 kB / 290.3 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4517/0.4517, allocations: 78.56 MB / 419.9 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005171, allocations: 12 kB / 499.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 69.36 MB / 0.5558 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Mostar): time 0.239/0.3739, allocations: 6.477 MB / 0.5621 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.3787, allocations: 2.614 MB / 0.5647 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000815/0.3796, allocations: 26.31 kB / 0.5647 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004395/0.38, allocations: 190.2 kB / 0.5649 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.3819, allocations: 0.8722 MB / 0.5657 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.3831, allocations: 0.5978 MB / 0.5663 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.3846, allocations: 1.97 MB / 0.5682 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004969/0.3851, allocations: 458.3 kB / 0.5687 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.3856, allocations: 0.6001 MB / 0.5693 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007024/0.3863, allocations: 0.7721 MB / 0.57 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3865, allocations: 67.75 kB / 0.5701 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.3869, allocations: 272 kB / 0.5703 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.3871, allocations: 306.5 kB / 0.5706 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.3873, allocations: 289.9 kB / 0.5709 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.3883, allocations: 1.809 MB / 0.5727 GB, free: 34.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3883, allocations: 0 / 0.5727 GB, free: 34.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3883, allocations: 0 / 0.5727 GB, free: 34.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3884, allocations: 2.094 kB / 0.5727 GB, free: 34.83 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.007885/0.3963, allocations: 3.048 MB / 0.5757 GB, free: 33.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3963, allocations: 9.344 kB / 0.5757 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.3974, allocations: 324.7 kB / 0.576 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.3986, allocations: 1.054 MB / 0.577 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.3988, allocations: 215.5 kB / 0.5772 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.3989, allocations: 123.2 kB / 0.5773 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.401, allocations: 1.381 MB / 0.5787 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.401, allocations: 3.938 kB / 0.5787 GB, free: 31.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.4011, allocations: 42.5 kB / 0.5787 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.4011, allocations: 26.25 kB / 0.5788 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.4033, allocations: 1.263 MB / 0.58 GB, free: 31.57 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.005608/0.4089, allocations: 5.307 MB / 0.5852 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007232/0.4162, allocations: 3.011 MB / 0.5881 GB, free: 27.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.4173, allocations: 0.637 MB / 0.5887 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.783e-05/0.4174, allocations: 26.45 kB / 0.5888 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.4188, allocations: 0.7936 MB / 0.5895 GB, free: 26.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=101): time 2.524e-06/0.4189, allocations: 0 / 0.5895 GB, free: 26.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=101): time 0.008791/0.4277, allocations: 3.392 MB / 0.5928 GB, free: 25.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.4277, allocations: 270 kB / 0.5931 GB, free: 25.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.4294, allocations: 1.355 MB / 0.5944 GB, free: 24.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.4295, allocations: 52.08 kB / 0.5945 GB, free: 24.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.4299, allocations: 0.6343 MB / 0.5951 GB, free: 24.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.4302, allocations: 373.8 kB / 0.5955 GB, free: 23.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.4303, allocations: 38.97 kB / 0.5955 GB, free: 23.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.4304, allocations: 371.2 kB / 0.5958 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.4319, allocations: 0.8004 MB / 0.5966 GB, free: 23.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.4337, allocations: 1.072 MB / 0.5977 GB, free: 22.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.4354, allocations: 0.8774 MB / 0.5985 GB, free: 22.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.4354, allocations: 1.281 kB / 0.5985 GB, free: 22.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008868/0.4443, allocations: 3.718 MB / 0.6022 GB, free: 21.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/0.4444, allocations: 215.6 kB / 0.6024 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4444, allocations: 3.422 kB / 0.6024 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00565/0.4501, allocations: 1.833 MB / 0.6042 GB, free: 20.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.4512, allocations: 256.9 kB / 0.6044 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.4615, allocations: 9.171 MB / 0.6134 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.4633, allocations: 254.3 kB / 0.6136 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.4635, allocations: 65.33 kB / 0.6137 GB, free: 13.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.4635, allocations: 3.844 kB / 0.6137 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00699/0.4705, allocations: 2.963 MB / 0.6166 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4706, allocations: 3.547 kB / 0.6166 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004752/0.4753, allocations: 1.565 MB / 0.6181 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009858/0.4763, allocations: 252 kB / 0.6183 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005847/0.4822, allocations: 7.756 MB / 0.6259 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.4835, allocations: 192.9 kB / 0.6261 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.4836, allocations: 59.14 kB / 0.6261 GB, free: 3.977 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.0007126/0.4844, allocations: 408 kB / 0.6265 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.4846, allocations: 154.6 kB / 0.6267 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/0.4895, allocations: 2.156 MB / 0.6288 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4895, allocations: 14.25 kB / 0.6288 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4896, allocations: 0 / 0.6288 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.4896, allocations: 14.17 kB / 0.6288 GB, free: 1.621 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.00704/0.4966, allocations: 3.989 MB / 0.6327 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4966, allocations: 7.938 kB / 0.6327 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/0.4975, allocations: 191.8 kB / 0.6329 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/0.4996, allocations: 0.6613 MB / 0.6335 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.151e-05/0.4997, allocations: 21.41 kB / 0.6336 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/0.5061, allocations: 3.65 MB / 0.6371 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5061, allocations: 4 kB / 0.6371 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006556/0.5127, allocations: 2.991 MB / 0.6401 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.5131, allocations: 258.9 kB / 0.6403 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.5134, allocations: 24 kB / 0.6403 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5144, allocations: 135.9 kB / 0.6405 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.5147, allocations: 130.5 kB / 0.6406 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.5148, allocations: 28 kB / 0.6406 GB, free: 5.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001274/0.5161, allocations: 0.8881 MB / 0.6415 GB, free: 4.648 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5161, allocations: 0 / 0.6415 GB, free: 4.648 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002166/0.5182, allocations: 0.7137 MB / 0.6422 GB, free: 3.934 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.0002865/0.5185, allocations: 143.1 kB / 0.6423 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009204/0.5277, allocations: 4.687 MB / 0.6469 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5278, allocations: 7.938 kB / 0.6469 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.5298, allocations: 1.069 MB / 0.6479 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.531, allocations: 168.2 kB / 0.6481 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005195/0.5362, allocations: 3.364 MB / 0.6514 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008156/0.537, allocations: 1.208 MB / 0.6526 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007013/0.5378, allocations: 168.8 kB / 0.6527 GB, free: 8.953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.5381, allocations: 87.42 kB / 0.6528 GB, free: 8.867 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5381, allocations: 0 / 0.6528 GB, free: 8.867 MB / 462.1 MB Notification: Performance of Templates: time 0.03909/0.5772, allocations: 25.99 MB / 0.6782 GB, free: 15.04 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: