Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",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.0008978/0.0008978, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008808/0.0008808, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05959/0.05959, allocations: 14.15 MB / 284.5 MB, free: 7.133 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.0005238/0.0005237, allocations: 20 kB / 348.2 MB, free: 17.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.09962, allocations: 51.12 MB / 399.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.001823/0.1015, allocations: 1.55 MB / 400.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1026, allocations: 0.7495 MB / 401.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.1027, allocations: 3.938 kB / 401.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.1028, allocations: 39.83 kB / 401.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1029, allocations: 59.83 kB / 401.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.1034, allocations: 161.8 kB / 401.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1037, allocations: 143.7 kB / 402 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1038, allocations: 36.3 kB / 402.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1039, allocations: 83.67 kB / 402.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1041, allocations: 99.58 kB / 402.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.1041, allocations: 8 kB / 402.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1043, allocations: 63.94 kB / 402.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.1043, allocations: 47.81 kB / 402.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.1044, allocations: 57.58 kB / 402.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1046, allocations: 175.7 kB / 402.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1046, allocations: 4 kB / 402.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1047, allocations: 7.938 kB / 402.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1047, allocations: 3.938 kB / 402.6 MB, free: 11.34 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009/0.1056, allocations: 0.5547 MB / 403.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1056, allocations: 12.02 kB / 403.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.1057, allocations: 42.55 kB / 403.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.1057, allocations: 27.62 kB / 403.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.1061, allocations: 281.6 kB / 403.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1062, allocations: 12 kB / 403.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.1062, allocations: 12 kB / 403.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.1068, allocations: 277 kB / 403.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1068, allocations: 0 / 403.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.1069, allocations: 4 kB / 403.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1069, allocations: 8 kB / 403.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.1076, allocations: 259.7 kB / 404.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1088, allocations: 0.8922 MB / 405 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.1097, allocations: 325 kB / 405.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1097, allocations: 4 kB / 405.3 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000569/0.1103, allocations: 250.7 kB / 405.6 MB, free: 8.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1103, allocations: 0 / 405.6 MB, free: 8.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001351/0.1117, allocations: 0.5898 MB / 406.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.1118, allocations: 162.2 kB / 406.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.112, allocations: 241 kB / 406.5 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.112, allocations: 29.7 kB / 406.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.1121, allocations: 156.1 kB / 406.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.1122, allocations: 43.36 kB / 406.8 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.1122, allocations: 4 kB / 406.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1123, allocations: 334.8 kB / 407.1 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.1127, allocations: 140.1 kB / 407.2 MB, free: 6.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.1131, allocations: 210.5 kB / 407.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.1135, allocations: 164.2 kB / 407.6 MB, free: 5.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1136, allocations: 3.953 kB / 407.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009148/0.1145, allocations: 442.7 kB / 408 MB, free: 5.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000241/0.1147, allocations: 0.5544 MB / 408.6 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1147, allocations: 4 kB / 408.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1148, allocations: 0 / 408.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.1151, allocations: 75.94 kB / 408.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1151, allocations: 0 / 408.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.1153, allocations: 55.81 kB / 408.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1154, allocations: 8 kB / 408.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.1154, allocations: 4 kB / 408.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004432/0.1158, allocations: 263.3 kB / 409 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-06/0.1159, allocations: 96 / 409 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-06/0.1159, allocations: 8.094 kB / 409 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.116, allocations: 39.94 kB / 409 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.116, allocations: 7.984 kB / 409 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1162, allocations: 15.84 kB / 409.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1162, allocations: 15.94 kB / 409.1 MB, free: 4.449 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,integrator2.I.local_reset,integrator1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002223/0.1164, allocations: 255.8 kB / 409.3 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.1165, allocations: 23.72 kB / 409.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.1165, allocations: 29.84 kB / 409.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.1166, allocations: 7.938 kB / 409.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1166, allocations: 0 / 409.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1166, allocations: 0 / 409.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.1169, allocations: 289.4 kB / 409.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1169, allocations: 0 / 409.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.1172, allocations: 59.94 kB / 409.7 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1172, allocations: 7.938 kB / 409.7 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.1172, allocations: 8 kB / 409.7 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1172, allocations: 0 / 409.7 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1172, allocations: 7.953 kB / 409.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.1186, allocations: 0.6023 MB / 410.3 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.1187, allocations: 104.8 kB / 410.4 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.1187, allocations: 8 kB / 410.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.119, allocations: 47.98 kB / 410.5 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.1191, allocations: 27.95 kB / 410.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.1191, allocations: 7.984 kB / 410.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1193, allocations: 176.4 kB / 410.7 MB, free: 2.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.614e-06/0.1193, allocations: 0 / 410.7 MB, free: 2.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.1197, allocations: 88.06 kB / 410.8 MB, free: 2.605 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator1.I.y,integrator2.I.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.001701/0.1214, allocations: 1.255 MB / 412.1 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.1225, allocations: 0.5768 MB / 412.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1225, allocations: 0 / 412.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.1229, allocations: 243.6 kB / 412.9 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1232, allocations: 44.39 kB / 412.9 MB, free: 424 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.1264, allocations: 2.431 MB / 415.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1267, allocations: 0.7521 MB / 416.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.1268, allocations: 25.55 kB / 416.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.127, allocations: 71.34 kB / 416.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.127, allocations: 0 / 416.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.1445, allocations: 5.717 MB / 421.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.1447, allocations: 192.3 kB / 422.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.858, allocations: 0 / 422.1 MB, free: 7.156 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter.fmu > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1) Environment - environmentSimulation: