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/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.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 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: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 175 kB / 12.73 MB, free: 2.59 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.285/1.285, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008377/0.0008377, allocations: 88.52 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4635/0.4635, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.345e-05, allocations: 4 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3502, allocations: 69.34 MB / 0.548 GB, free: 20.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.4802, allocations: 106.9 MB / 0.6525 GB, free: 9.473 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4805, allocations: 79.95 kB / 0.6525 GB, free: 9.395 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.41/0.8905, allocations: 39.16 MB / 0.6908 GB, free: 107.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.8905, allocations: 0 / 0.6908 GB, free: 107.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001284/0.8907, allocations: 39.19 kB / 0.6908 GB, free: 107.9 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.004134/0.8948, allocations: 1.733 MB / 0.6925 GB, free: 107.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.8949, allocations: 13.72 kB / 0.6925 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003619/0.8952, allocations: 151.9 kB / 0.6927 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.8964, allocations: 275.8 kB / 0.6929 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.8979, allocations: 1.018 MB / 0.6939 GB, free: 106.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.8981, allocations: 211.8 kB / 0.6941 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.8982, allocations: 108.7 kB / 0.6942 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.8999, allocations: 1.169 MB / 0.6954 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.9, allocations: 3.844 kB / 0.6954 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.9001, allocations: 39.16 kB / 0.6954 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.9001, allocations: 26.69 kB / 0.6954 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.9014, allocations: 0.9137 MB / 0.6963 GB, free: 105.3 MB / 490.7 MB 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.006368/0.9078, allocations: 5.182 MB / 0.7014 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/0.9145, allocations: 2.668 MB / 0.704 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008311/0.9153, allocations: 455.7 kB / 0.7044 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.9154, allocations: 27.5 kB / 0.7045 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000841/0.9163, allocations: 0.6023 MB / 0.7051 GB, free: 100.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 2.314e-06/0.9163, allocations: 0 / 0.7051 GB, free: 100.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.004028/0.9203, allocations: 1.65 MB / 0.7067 GB, free: 99.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.9204, allocations: 267.2 kB / 0.7069 GB, free: 99.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.9219, allocations: 1.129 MB / 0.708 GB, free: 99.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.9221, allocations: 45.45 kB / 0.7081 GB, free: 99.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.9224, allocations: 0.6626 MB / 0.7087 GB, free: 98.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.9227, allocations: 368.9 kB / 0.7091 GB, free: 98.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.9227, allocations: 31.66 kB / 0.7091 GB, free: 98.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7e-05/0.9228, allocations: 354.1 kB / 0.7094 GB, free: 97.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.9235, allocations: 435.4 kB / 0.7098 GB, free: 97.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/0.9242, allocations: 0.6545 MB / 0.7105 GB, free: 97.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.9249, allocations: 0.4923 MB / 0.711 GB, free: 96.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.9249, allocations: 4 kB / 0.711 GB, free: 96.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005567/0.9305, allocations: 2.62 MB / 0.7135 GB, free: 94.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002464/0.9307, allocations: 1.525 MB / 0.715 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.9307, allocations: 4 kB / 0.715 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004253/0.935, allocations: 1.465 MB / 0.7165 GB, free: 91.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.9355, allocations: 148.7 kB / 0.7166 GB, free: 91.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.9395, allocations: 4.326 MB / 0.7208 GB, free: 87.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.9409, allocations: 206.9 kB / 0.721 GB, free: 86.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.941, allocations: 51.98 kB / 0.7211 GB, free: 86.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.941, allocations: 4 kB / 0.7211 GB, free: 86.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004705/0.9457, allocations: 2.211 MB / 0.7232 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.9458, allocations: 4 kB / 0.7232 GB, free: 84.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004336/0.9501, allocations: 1.361 MB / 0.7246 GB, free: 83.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.9507, allocations: 159.7 kB / 0.7247 GB, free: 83.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/0.9559, allocations: 7.536 MB / 0.7321 GB, free: 75.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.9573, allocations: 163 kB / 0.7322 GB, free: 74.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.9574, allocations: 43.94 kB / 0.7323 GB, free: 74.86 MB / 490.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * 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.0002855/0.9577, allocations: 172.9 kB / 0.7324 GB, free: 74.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.9579, allocations: 154.1 kB / 0.7326 GB, free: 74.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.9618, allocations: 1.726 MB / 0.7343 GB, free: 72.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.9618, allocations: 12 kB / 0.7343 GB, free: 72.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.9618, allocations: 3.953 kB / 0.7343 GB, free: 72.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.9618, allocations: 3.984 kB / 0.7343 GB, free: 72.77 MB / 490.7 MB 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.005307/0.9671, allocations: 3.498 MB / 0.7377 GB, free: 69.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.9672, allocations: 4 kB / 0.7377 GB, free: 69.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008578/0.968, allocations: 195.8 kB / 0.7379 GB, free: 68.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.9696, allocations: 0.4907 MB / 0.7384 GB, free: 68.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.396e-05/0.9697, allocations: 31.92 kB / 0.7384 GB, free: 68.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004173/0.9739, allocations: 3.077 MB / 0.7414 GB, free: 65.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9739, allocations: 0 / 0.7414 GB, free: 65.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.9784, allocations: 2.374 MB / 0.7437 GB, free: 62.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/0.9789, allocations: 251 kB / 0.744 GB, free: 62.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.9791, allocations: 24 kB / 0.744 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.9802, allocations: 131.9 kB / 0.7441 GB, free: 62.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/0.9805, allocations: 128.7 kB / 0.7442 GB, free: 62.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.9806, allocations: 28 kB / 0.7443 GB, free: 62.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001058/0.9817, allocations: 0.8634 MB / 0.7451 GB, free: 61.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9817, allocations: 384 / 0.7451 GB, free: 61.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001485/0.9832, allocations: 0.6198 MB / 0.7457 GB, free: 60.8 MB / 490.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 () * 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.004596/0.9878, allocations: 3.015 MB / 0.7487 GB, free: 57.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006193/0.994, allocations: 3.243 MB / 0.7518 GB, free: 54.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.994, allocations: 4.188 kB / 0.7518 GB, free: 54.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.9955, allocations: 0.9021 MB / 0.7527 GB, free: 53.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009273/0.9964, allocations: 171.1 kB / 0.7529 GB, free: 53.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/1, allocations: 2.44 MB / 0.7553 GB, free: 50.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/1.001, allocations: 1.237 MB / 0.7565 GB, free: 49.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008584/1.001, allocations: 220.8 kB / 0.7567 GB, free: 49.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000541/1.002, allocations: 0.5618 MB / 0.7572 GB, free: 48.79 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/1.002, allocations: 4 kB / 0.7572 GB, free: 48.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05475/1.057, allocations: 39.28 MB / 0.7956 GB, free: 9.855 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/1.057, allocations: 166.4 kB / 0.7957 GB, free: 9.633 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/4.183, allocations: 0 / 0.7957 GB, free: 9.633 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)