Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.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/Complex 4.0.0+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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 97.52 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 178 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06043/0.06043, allocations: 14.16 MB / 285.2 MB, free: 7.16 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004856, allocations: 12.22 kB / 346.9 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 51.12 MB / 398 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0009181/0.111, allocations: 407.2 kB / 398.4 MB, free: 272 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.1113, allocations: 59.83 kB / 398.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.1113, allocations: 0 / 398.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.1113, allocations: 0 / 398.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.596e-05/0.1114, allocations: 7.984 kB / 398.4 MB, free: 204 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.1116, allocations: 15.92 kB / 398.5 MB, free: 188 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.097e-05/0.1117, allocations: 11.98 kB / 398.5 MB, free: 176 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.1118, allocations: 4 kB / 398.5 MB, free: 172 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.1118, allocations: 11.98 kB / 398.5 MB, free: 160 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.1119, allocations: 15.91 kB / 398.5 MB, free: 144 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1119, allocations: 4 kB / 398.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.1119, allocations: 4 kB / 398.5 MB, free: 136 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1119, allocations: 4 kB / 398.5 MB, free: 132 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.112, allocations: 25.7 kB / 398.5 MB, free: 100 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.265e-05/0.112, allocations: 15.97 kB / 398.6 MB, free: 84 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.112, allocations: 0 / 398.6 MB, free: 84 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.112, allocations: 3.938 kB / 398.6 MB, free: 80 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.112, allocations: 0 / 398.6 MB, free: 80 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004284/0.1125, allocations: 335.6 kB / 398.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1125, allocations: 16.02 kB / 398.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.1126, allocations: 38.48 kB / 398.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1126, allocations: 0 / 398.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1128, allocations: 171 kB / 399.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.1128, allocations: 0 / 399.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1128, allocations: 7.953 kB / 399.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.113, allocations: 80.23 kB / 399.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.113, allocations: 4 kB / 399.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1131, allocations: 0 / 399.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1131, allocations: 0 / 399.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.1132, allocations: 43.91 kB / 399.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.1136, allocations: 281.8 kB / 399.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1138, allocations: 81.12 kB / 399.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1138, allocations: 0 / 399.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1139, allocations: 38.62 kB / 399.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.1139, allocations: 0 / 399.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003681/0.1143, allocations: 105.6 kB / 399.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.1143, allocations: 102.8 kB / 399.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.1144, allocations: 102.1 kB / 399.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1144, allocations: 29.7 kB / 400 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.1145, allocations: 92.05 kB / 400.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.1145, allocations: 3.906 kB / 400.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.1145, allocations: 0 / 400.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1146, allocations: 310.8 kB / 400.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.1147, allocations: 27.97 kB / 400.4 MB, free: 14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.1148, allocations: 42.56 kB / 400.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.1149, allocations: 27.92 kB / 400.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1149, allocations: 0 / 400.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002014/0.1151, allocations: 85.64 kB / 400.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.1152, allocations: 182.1 kB / 400.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1152, allocations: 0 / 400.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1153, allocations: 7.938 kB / 400.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.1154, allocations: 15.92 kB / 400.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1154, allocations: 0 / 400.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.1154, allocations: 8 kB / 400.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1154, allocations: 7.938 kB / 400.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.523e-06/0.1155, allocations: 4 kB / 400.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.969e-05/0.1156, allocations: 31.92 kB / 400.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-06/0.1156, allocations: 0 / 400.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-06/0.1156, allocations: 0 / 400.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.391e-05/0.1156, allocations: 4 kB / 400.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.1156, allocations: 4 kB / 400.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.1157, allocations: 4.219 kB / 400.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.1157, allocations: 7.938 kB / 400.8 MB, free: 13.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.693e-05/0.1158, allocations: 193.2 kB / 401 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.1158, allocations: 11.86 kB / 401 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.1158, allocations: 11.11 kB / 401 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1158, allocations: 0 / 401 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1159, allocations: 0 / 401 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1159, allocations: 4 kB / 401 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.116, allocations: 157.7 kB / 401.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.116, allocations: 0 / 401.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.1161, allocations: 12 kB / 401.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1161, allocations: 7.953 kB / 401.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1161, allocations: 0 / 401.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1161, allocations: 3.984 kB / 401.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1161, allocations: 0 / 401.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.1167, allocations: 0.7577 MB / 402 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.1167, allocations: 81.09 kB / 402 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.1167, allocations: 4 kB / 402 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.1168, allocations: 16 kB / 402.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1169, allocations: 7.984 kB / 402.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1169, allocations: 0 / 402.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.823e-05/0.1169, allocations: 79.28 kB / 402.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1169, allocations: 0 / 402.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.1174, allocations: 11.95 kB / 402.2 MB, free: 12.05 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005215/0.118, allocations: 0.7953 MB / 403 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.1182, allocations: 67.89 kB / 403 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1182, allocations: 0 / 403 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.1183, allocations: 28.23 kB / 403.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.1185, allocations: 12.02 kB / 403.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009497/0.1195, allocations: 0.6561 MB / 403.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1197, allocations: 0.681 MB / 404.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.059e-05/0.1198, allocations: 4 kB / 404.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.1198, allocations: 15.38 kB / 404.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1198, allocations: 0 / 404.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.1308, allocations: 1.175 MB / 405.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.1311, allocations: 170 kB / 405.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.637, allocations: 4 kB / 405.8 MB, free: 8.32 MB / 302.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) Environment - environmentSimulation: