Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.2 MB / 218.5 MB, free: 9.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008324/0.0008325, allocations: 86.66 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06738/0.06738, allocations: 12.19 MB / 326.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2715/0.2715, allocations: 78.02 MB / 455.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.572e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 69.25 MB / 0.5889 GB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.4993, allocations: 108.4 MB / 0.6948 GB, free: 7.922 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001622/0.4995, allocations: 80.08 kB / 0.6949 GB, free: 7.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09467/0.5942, allocations: 38.59 MB / 0.7326 GB, free: 7.758 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5942, allocations: 0 / 0.7326 GB, free: 7.758 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001261/0.5944, allocations: 43.92 kB / 0.7326 GB, free: 7.715 MB / 474.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.003985/0.5984, allocations: 1.726 MB / 0.7343 GB, free: 6.051 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5984, allocations: 15.98 kB / 0.7343 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003004/0.5987, allocations: 151.4 kB / 0.7345 GB, free: 5.941 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.5999, allocations: 275.4 kB / 0.7347 GB, free: 5.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.6017, allocations: 1.065 MB / 0.7358 GB, free: 4.832 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.6019, allocations: 207.8 kB / 0.736 GB, free: 4.641 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.6021, allocations: 103.1 kB / 0.7361 GB, free: 4.574 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.604, allocations: 1.17 MB / 0.7372 GB, free: 3.723 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.604, allocations: 8 kB / 0.7372 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.6042, allocations: 42.06 kB / 0.7373 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.6042, allocations: 28 kB / 0.7373 GB, free: 3.676 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.6057, allocations: 0.9092 MB / 0.7382 GB, free: 3.113 MB / 474.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.006953/0.6126, allocations: 5.191 MB / 0.7432 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007217/0.6199, allocations: 2.676 MB / 0.7459 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008123/0.6207, allocations: 456.6 kB / 0.7463 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.925e-05/0.6208, allocations: 24.61 kB / 0.7463 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009545/0.6218, allocations: 0.6052 MB / 0.7469 GB, free: 11.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 3.536e-06/0.6218, allocations: 0 / 0.7469 GB, free: 11.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=101): time 0.004339/0.6262, allocations: 1.638 MB / 0.7485 GB, free: 10.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.6263, allocations: 270 kB / 0.7488 GB, free: 10.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.6279, allocations: 1.146 MB / 0.7499 GB, free: 9.445 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.628, allocations: 46.08 kB / 0.7499 GB, free: 9.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/0.6285, allocations: 0.682 MB / 0.7506 GB, free: 8.953 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.6288, allocations: 362.8 kB / 0.7509 GB, free: 8.594 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.6289, allocations: 28 kB / 0.751 GB, free: 8.566 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.629, allocations: 357.9 kB / 0.7513 GB, free: 8.211 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.6297, allocations: 434.6 kB / 0.7517 GB, free: 7.785 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.6306, allocations: 0.6591 MB / 0.7524 GB, free: 7.051 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007676/0.6314, allocations: 0.4891 MB / 0.7528 GB, free: 6.566 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6314, allocations: 0 / 0.7528 GB, free: 6.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006096/0.6375, allocations: 2.617 MB / 0.7554 GB, free: 3.922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004903/0.638, allocations: 1.527 MB / 0.7569 GB, free: 2.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.638, allocations: 4.078 kB / 0.7569 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004595/0.6426, allocations: 1.455 MB / 0.7583 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.6432, allocations: 147.8 kB / 0.7585 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.6479, allocations: 4.331 MB / 0.7627 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.6494, allocations: 210.9 kB / 0.7629 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/0.6495, allocations: 43.98 kB / 0.7629 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.6495, allocations: 4 kB / 0.7629 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005047/0.6545, allocations: 2.211 MB / 0.7651 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6546, allocations: 4 kB / 0.7651 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00423/0.6588, allocations: 1.377 MB / 0.7664 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.6594, allocations: 148.1 kB / 0.7666 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/0.6655, allocations: 7.542 MB / 0.7739 GB, free: 32 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.667, allocations: 155.3 kB / 0.7741 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.6671, allocations: 47.98 kB / 0.7741 GB, free: 15.83 MB / 0.5105 GB 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.0003158/0.6674, allocations: 173.4 kB / 0.7743 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.6676, allocations: 161.8 kB / 0.7745 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.6718, allocations: 1.718 MB / 0.7761 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.6719, allocations: 8 kB / 0.7761 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6719, allocations: 7.984 kB / 0.7761 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6719, allocations: 3.984 kB / 0.7762 GB, free: 13.74 MB / 0.5105 GB 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.006429/0.6783, allocations: 3.506 MB / 0.7796 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6784, allocations: 4.031 kB / 0.7796 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.6793, allocations: 191.8 kB / 0.7798 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.681, allocations: 0.5002 MB / 0.7803 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/0.6811, allocations: 23.98 kB / 0.7803 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004678/0.6857, allocations: 3.068 MB / 0.7833 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6858, allocations: 4.375 kB / 0.7833 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004724/0.6905, allocations: 2.379 MB / 0.7856 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.6908, allocations: 258.8 kB / 0.7858 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.691, allocations: 24 kB / 0.7859 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6921, allocations: 135.8 kB / 0.786 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.6923, allocations: 132.7 kB / 0.7861 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.6924, allocations: 28 kB / 0.7862 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001141/0.6936, allocations: 0.8718 MB / 0.787 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6936, allocations: 4 kB / 0.787 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001455/0.695, allocations: 0.6198 MB / 0.7876 GB, free: 1.707 MB / 0.5105 GB 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.00501/0.7001, allocations: 3.012 MB / 0.7906 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006629/0.7067, allocations: 3.238 MB / 0.7937 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7067, allocations: 0 / 0.7937 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.7084, allocations: 0.9078 MB / 0.7946 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00097/0.7093, allocations: 169.2 kB / 0.7948 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.714, allocations: 2.452 MB / 0.7972 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.7147, allocations: 1.241 MB / 0.7984 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009268/0.7156, allocations: 229.5 kB / 0.7986 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/0.7163, allocations: 0.5657 MB / 0.7991 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/0.7163, allocations: 0 / 0.7991 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06825/0.7846, allocations: 39.54 MB / 0.8378 GB, free: 14.23 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.7848, allocations: 184.3 kB / 0.8379 GB, free: 14 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/3.823, allocations: 0 / 0.8379 GB, free: 14 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)