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.0009502/0.0009502, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001418/0.001418, allocations: 168.7 kB / 15.95 MB, free: 204 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.528/1.528, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06159/0.06159, allocations: 14.18 MB / 284.6 MB, free: 7.125 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.0005029/0.0005029, allocations: 16 kB / 348.3 MB, free: 17.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.09386, allocations: 51.11 MB / 399.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.002057/0.09596, allocations: 1.54 MB / 400.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.0972, allocations: 0.7728 MB / 401.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.09732, allocations: 7.938 kB / 401.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.0975, allocations: 35.83 kB / 401.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.09761, allocations: 51.73 kB / 401.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.09813, allocations: 171.4 kB / 402 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.09838, allocations: 207.4 kB / 402.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.0985, allocations: 40.28 kB / 402.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.09861, allocations: 87.61 kB / 402.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.09876, allocations: 99.58 kB / 402.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.0988, allocations: 8 kB / 402.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.09892, allocations: 75.92 kB / 402.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.09899, allocations: 35.84 kB / 402.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.09905, allocations: 57.58 kB / 402.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.09925, allocations: 183.6 kB / 402.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.09927, allocations: 0 / 402.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09927, allocations: 0 / 402.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.09928, allocations: 0 / 402.7 MB, free: 11.24 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.0007719/0.1001, allocations: 0.5469 MB / 403.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1001, allocations: 19.95 kB / 403.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.1002, allocations: 46.55 kB / 403.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.1002, allocations: 31.62 kB / 403.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.1005, allocations: 277.6 kB / 403.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1006, allocations: 11.94 kB / 403.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1006, allocations: 12 kB / 403.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.1012, allocations: 289 kB / 404 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1012, allocations: 4 kB / 404 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1012, allocations: 0 / 404 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1013, allocations: 4 kB / 404 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.1019, allocations: 251.8 kB / 404.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1029, allocations: 0.8922 MB / 405.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/0.1038, allocations: 325 kB / 405.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.1041, allocations: 161.7 kB / 405.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1042, allocations: 4 kB / 405.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005128/0.1047, allocations: 242.7 kB / 405.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1047, allocations: 0 / 405.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001234/0.1059, allocations: 0.5184 MB / 406.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.106, allocations: 166.1 kB / 406.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1063, allocations: 237 kB / 406.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1063, allocations: 29.7 kB / 406.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1064, allocations: 144.2 kB / 406.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.1065, allocations: 51.3 kB / 407 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.1065, allocations: 4 kB / 407 MB, free: 6.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1066, allocations: 338.8 kB / 407.3 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.107, allocations: 140.1 kB / 407.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.1074, allocations: 202.5 kB / 407.6 MB, free: 5.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.1078, allocations: 172.4 kB / 407.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1078, allocations: 0 / 407.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008773/0.1087, allocations: 438.7 kB / 408.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.1088, allocations: 163 kB / 408.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1088, allocations: 4 kB / 408.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1088, allocations: 0 / 408.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.1091, allocations: 67.95 kB / 408.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1091, allocations: 0 / 408.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.1093, allocations: 63.8 kB / 408.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.1094, allocations: 11.98 kB / 408.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-06/0.1094, allocations: 3.938 kB / 408.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004067/0.1098, allocations: 263.3 kB / 408.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.1098, allocations: 4.156 kB / 408.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-06/0.1098, allocations: 8.078 kB / 408.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.11, allocations: 31.92 kB / 408.8 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.11, allocations: 4 kB / 408.8 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.1101, allocations: 23.83 kB / 408.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1101, allocations: 11.94 kB / 408.9 MB, free: 4.703 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.0002153/0.1103, allocations: 263.9 kB / 409.1 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.1104, allocations: 31.67 kB / 409.2 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.553e-05/0.1105, allocations: 29.83 kB / 409.2 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1105, allocations: 0 / 409.2 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1105, allocations: 0 / 409.2 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1105, allocations: 4 kB / 409.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.1108, allocations: 285.4 kB / 409.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1108, allocations: 3.938 kB / 409.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.1111, allocations: 63.89 kB / 409.5 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1111, allocations: 4 kB / 409.5 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.1111, allocations: 7.953 kB / 409.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1111, allocations: 3.984 kB / 409.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1111, allocations: 0 / 409.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.1124, allocations: 0.5967 MB / 410.1 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.1125, allocations: 104.8 kB / 410.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.1125, allocations: 7.984 kB / 410.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.1127, allocations: 51.98 kB / 410.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.1128, allocations: 27.89 kB / 410.3 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.1129, allocations: 4 kB / 410.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.113, allocations: 180.5 kB / 410.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.113, allocations: 0 / 410.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004066/0.1134, allocations: 80.12 kB / 410.6 MB, free: 2.863 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.001592/0.115, allocations: 1.165 MB / 411.8 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.1161, allocations: 0.573 MB / 412.3 MB, free: 1.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1161, allocations: 0 / 412.3 MB, free: 1.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.1166, allocations: 251.6 kB / 412.6 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1169, allocations: 44.36 kB / 412.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.1199, allocations: 1.697 MB / 414.3 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1202, allocations: 0.7443 MB / 415.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.1204, allocations: 25.48 kB / 415.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1205, allocations: 67.41 kB / 415.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1205, allocations: 0 / 415.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1379, allocations: 5.743 MB / 420.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.1381, allocations: 193.3 kB / 421.1 MB, free: 8.238 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.805, allocations: 4 kB / 421.1 MB, free: 8.234 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: