Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_symb_jac_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.001089/0.001089, allocations: 97.36 kB / 15.7 MB, free: 472 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.001151/0.001151, allocations: 182.5 kB / 16.58 MB, free: 6.395 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.719/1.719, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05827/0.05827, allocations: 14.17 MB / 285.2 MB, free: 7.145 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.0006459/0.0006462, allocations: 12 kB / 348.9 MB, free: 17.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1177, allocations: 51.11 MB / 400 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.00259/0.1203, allocations: 1.551 MB / 401.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1217, allocations: 0.7495 MB / 402.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1218, allocations: 7.938 kB / 402.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.122, allocations: 35.83 kB / 402.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1222, allocations: 59.84 kB / 402.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.1227, allocations: 167.1 kB / 402.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.123, allocations: 139.7 kB / 402.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1231, allocations: 44.27 kB / 402.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1233, allocations: 87.67 kB / 402.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1234, allocations: 95.58 kB / 402.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.1235, allocations: 8 kB / 402.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1236, allocations: 67.94 kB / 403 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.1238, allocations: 43.81 kB / 403 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.1239, allocations: 53.58 kB / 403.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1241, allocations: 179.7 kB / 403.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1241, allocations: 3.938 kB / 403.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1242, allocations: 7.938 kB / 403.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1242, allocations: 0 / 403.3 MB, free: 11.36 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.0009839/0.1252, allocations: 0.5547 MB / 403.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1252, allocations: 16.02 kB / 403.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.1253, allocations: 46.55 kB / 403.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.1254, allocations: 27.62 kB / 403.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1257, allocations: 277.6 kB / 404.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1258, allocations: 12 kB / 404.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1258, allocations: 12 kB / 404.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.1265, allocations: 273 kB / 404.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1265, allocations: 0 / 404.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.1265, allocations: 8 kB / 404.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1265, allocations: 4 kB / 404.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007826/0.1273, allocations: 259.7 kB / 404.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.1286, allocations: 0.8922 MB / 405.6 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.1296, allocations: 329 kB / 405.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1297, allocations: 0 / 405.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006568/0.1303, allocations: 250.7 kB / 406.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.213e-06/0.1303, allocations: 4 kB / 406.2 MB, free: 8.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001578/0.1319, allocations: 0.5859 MB / 406.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.1321, allocations: 162.2 kB / 406.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.1324, allocations: 241 kB / 407.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.1324, allocations: 29.64 kB / 407.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1326, allocations: 152.2 kB / 407.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.1326, allocations: 47.36 kB / 407.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.1327, allocations: 8 kB / 407.4 MB, free: 6.879 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.1329, allocations: 330.8 kB / 407.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.1333, allocations: 140.1 kB / 407.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.1337, allocations: 206.5 kB / 408.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.1342, allocations: 168.5 kB / 408.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1342, allocations: 3.953 kB / 408.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001003/0.1352, allocations: 438.8 kB / 408.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003276/0.1355, allocations: 0.5622 MB / 409.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1355, allocations: 0 / 409.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1356, allocations: 4 kB / 409.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.1359, allocations: 67.94 kB / 409.3 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1359, allocations: 4 kB / 409.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.1362, allocations: 55.81 kB / 409.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1362, allocations: 8 kB / 409.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.375e-06/0.1362, allocations: 4.094 kB / 409.4 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004822/0.1367, allocations: 271.2 kB / 409.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1367, allocations: 3.984 kB / 409.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.1367, allocations: 4 kB / 409.6 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1369, allocations: 36.09 kB / 409.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1369, allocations: 4 kB / 409.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.137, allocations: 23.83 kB / 409.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1371, allocations: 11.94 kB / 409.7 MB, free: 4.469 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.0002671/0.1373, allocations: 251.8 kB / 410 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.1374, allocations: 31.7 kB / 410 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.1375, allocations: 21.84 kB / 410 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.1375, allocations: 11.95 kB / 410 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1375, allocations: 0 / 410 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.1375, allocations: 7.984 kB / 410 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.1379, allocations: 285.4 kB / 410.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1379, allocations: 4 kB / 410.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.1382, allocations: 59.89 kB / 410.4 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1382, allocations: 0 / 410.4 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.1383, allocations: 11.98 kB / 410.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1383, allocations: 4 kB / 410.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1383, allocations: 3.953 kB / 410.4 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006793/0.1451, allocations: 3.292 MB / 413.7 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.1452, allocations: 96.84 kB / 413.8 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.1452, allocations: 8 kB / 413.8 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.1455, allocations: 47.98 kB / 413.8 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1456, allocations: 27.95 kB / 413.9 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.1456, allocations: 11.98 kB / 413.9 MB, free: 28 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.1458, allocations: 172.5 kB / 414 MB, free: 15.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1458, allocations: 0 / 414 MB, free: 15.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000642/0.1465, allocations: 123.9 kB / 414.2 MB, free: 15.74 MB / 318.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.001951/0.1484, allocations: 1.255 MB / 415.4 MB, free: 14.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.1497, allocations: 0.5806 MB / 416 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1497, allocations: 0 / 416 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.1502, allocations: 243.6 kB / 416.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1505, allocations: 44.45 kB / 416.3 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.1545, allocations: 2.655 MB / 418.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.1549, allocations: 0.7521 MB / 419.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.1551, allocations: 33.53 kB / 419.7 MB, free: 9.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.1552, allocations: 59.42 kB / 419.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1552, allocations: 0 / 419.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.174, allocations: 6.194 MB / 426 MB, free: 3.82 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.1743, allocations: 198.6 kB / 426.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.851, allocations: 3.938 kB / 426.2 MB, free: 3.574 MB / 318.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter.fmu > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1) Environment - environmentSimulation: