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.007479/0.007479, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.322/1.322, allocations: 223.2 MB / 239 MB, free: 1.754 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.0008813/0.0008812, allocations: 99.86 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4117/0.4117, allocations: 78.59 MB / 419.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004743, allocations: 12 kB / 499.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3735, allocations: 69.34 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Mostar): time 0.00682/0.3803, allocations: 6.298 MB / 0.5619 GB, free: 37.34 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.386, allocations: 2.618 MB / 0.5645 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.3879, allocations: 24.91 kB / 0.5645 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007057/0.3886, allocations: 179.1 kB / 0.5647 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.3912, allocations: 0.9355 MB / 0.5656 GB, free: 34.79 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.3927, allocations: 0.6055 MB / 0.5662 GB, free: 34.49 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.3945, allocations: 1.328 MB / 0.5675 GB, free: 33.78 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.395, allocations: 461 kB / 0.5679 GB, free: 33.56 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005424/0.3956, allocations: 0.5999 MB / 0.5685 GB, free: 33.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007092/0.3963, allocations: 0.7695 MB / 0.5692 GB, free: 32.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.3964, allocations: 68.19 kB / 0.5693 GB, free: 32.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.3969, allocations: 260.9 kB / 0.5696 GB, free: 32.87 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.3971, allocations: 296.2 kB / 0.5698 GB, free: 32.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3973, allocations: 294 kB / 0.5701 GB, free: 32.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.3985, allocations: 1.787 MB / 0.5719 GB, free: 32.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.3985, allocations: 2.906 kB / 0.5719 GB, free: 32.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3985, allocations: 4 kB / 0.5719 GB, free: 32.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.3985, allocations: 0 / 0.5719 GB, free: 32.06 MB / 426.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.009406/0.4079, allocations: 3.044 MB / 0.5748 GB, free: 30.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.408, allocations: 12.22 kB / 0.5749 GB, free: 30.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.4093, allocations: 319 kB / 0.5752 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.4108, allocations: 1.057 MB / 0.5762 GB, free: 30.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.4111, allocations: 217.3 kB / 0.5764 GB, free: 29.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.4113, allocations: 117.9 kB / 0.5765 GB, free: 29.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.4135, allocations: 1.375 MB / 0.5779 GB, free: 29.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.4136, allocations: 0 / 0.5779 GB, free: 29.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/0.4137, allocations: 43.34 kB / 0.5779 GB, free: 29.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.4137, allocations: 23.22 kB / 0.5779 GB, free: 29.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.4162, allocations: 1.262 MB / 0.5792 GB, free: 28.73 MB / 426.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.006334/0.4225, allocations: 5.416 MB / 0.5844 GB, free: 25.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007945/0.4305, allocations: 3.015 MB / 0.5874 GB, free: 24.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.551e-05/0.4306, allocations: 20.3 kB / 0.5874 GB, free: 24.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001467/0.4321, allocations: 0.7838 MB / 0.5882 GB, free: 23.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=101): time 3.026e-06/0.4321, allocations: 4 kB / 0.5882 GB, free: 23.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=101): time 0.009631/0.4417, allocations: 3.383 MB / 0.5915 GB, free: 22.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.4418, allocations: 278 kB / 0.5917 GB, free: 22.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.4435, allocations: 1.355 MB / 0.5931 GB, free: 21.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.4436, allocations: 47.73 kB / 0.5931 GB, free: 21.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.444, allocations: 0.6359 MB / 0.5937 GB, free: 21.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.4442, allocations: 378.4 kB / 0.5941 GB, free: 21.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.4443, allocations: 38.38 kB / 0.5941 GB, free: 21.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.4444, allocations: 373 kB / 0.5945 GB, free: 20.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.4461, allocations: 0.7963 MB / 0.5953 GB, free: 20.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.4479, allocations: 1.07 MB / 0.5963 GB, free: 19.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.4497, allocations: 0.8778 MB / 0.5972 GB, free: 19.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4497, allocations: 0 / 0.5972 GB, free: 19.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.00919/0.4589, allocations: 3.715 MB / 0.6008 GB, free: 18.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.4592, allocations: 1.528 MB / 0.6023 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4592, allocations: 3.656 kB / 0.6023 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006231/0.4654, allocations: 1.825 MB / 0.6041 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.4666, allocations: 252.8 kB / 0.6043 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.478, allocations: 9.304 MB / 0.6134 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.48, allocations: 252.6 kB / 0.6136 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.4802, allocations: 67.77 kB / 0.6137 GB, free: 9.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.4802, allocations: 4.406 kB / 0.6137 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007601/0.4878, allocations: 2.958 MB / 0.6166 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4878, allocations: 4.125 kB / 0.6166 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005249/0.4931, allocations: 1.562 MB / 0.6181 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.4941, allocations: 252.7 kB / 0.6184 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/0.5002, allocations: 7.813 MB / 0.626 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.5018, allocations: 192.6 kB / 0.6262 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.5019, allocations: 67.42 kB / 0.6262 GB, free: 15.65 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 (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.0007639/0.5027, allocations: 407.2 kB / 0.6266 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.5029, allocations: 154.1 kB / 0.6268 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006111/0.509, allocations: 2.168 MB / 0.6289 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5091, allocations: 8 kB / 0.6289 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5091, allocations: 0 / 0.6289 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5091, allocations: 9.438 kB / 0.6289 GB, free: 13.29 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.007979/0.5171, allocations: 3.995 MB / 0.6328 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5171, allocations: 0 / 0.6328 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009081/0.518, allocations: 187.8 kB / 0.633 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.5203, allocations: 0.6676 MB / 0.6336 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/0.5204, allocations: 23.98 kB / 0.6337 GB, free: 8.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00731/0.5277, allocations: 3.762 MB / 0.6373 GB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5277, allocations: 4 kB / 0.6373 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007109/0.5349, allocations: 3.014 MB / 0.6403 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.5353, allocations: 250.9 kB / 0.6405 GB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.5356, allocations: 31.98 kB / 0.6406 GB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.5368, allocations: 132 kB / 0.6407 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.5371, allocations: 132.7 kB / 0.6408 GB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.5371, allocations: 31.98 kB / 0.6408 GB, free: 1.066 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0013/0.5385, allocations: 0.8803 MB / 0.6417 GB, free: 192 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5385, allocations: 384 / 0.6417 GB, free: 192 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.002294/0.5408, allocations: 0.7137 MB / 0.6424 GB, free: 15.47 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 (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.0003078/0.5411, allocations: 163 kB / 0.6426 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009878/0.551, allocations: 4.665 MB / 0.6471 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.551, allocations: 3.938 kB / 0.6471 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002293/0.5533, allocations: 1.083 MB / 0.6482 GB, free: 9.387 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.5542, allocations: 156.3 kB / 0.6483 GB, free: 9.238 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.5598, allocations: 3.352 MB / 0.6516 GB, free: 5.855 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/0.5606, allocations: 1.243 MB / 0.6528 GB, free: 4.586 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007911/0.5614, allocations: 165.7 kB / 0.653 GB, free: 4.422 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.5617, allocations: 91.41 kB / 0.6531 GB, free: 4.332 MB / 458.7 MB Notification: Performance of SimCode: time 5.62e-07/0.5617, allocations: 0 / 0.6531 GB, free: 4.332 MB / 458.7 MB Notification: Performance of Templates: time 0.03936/0.6011, allocations: 25.95 MB / 0.6784 GB, free: 10.46 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)