Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.TestFirstOrderWithNonWindupLimiter,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter",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.0009221/0.0009221, allocations: 95.88 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.00115/0.001149, allocations: 180.1 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.667/1.667, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0604/0.0604, 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.0005315/0.0005316, allocations: 16 kB / 348.9 MB, free: 17.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 51.11 MB / 400 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.002251/0.1134, allocations: 1.687 MB / 401.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1148, allocations: 0.804 MB / 402.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1149, allocations: 11.94 kB / 402.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.1151, allocations: 39.77 kB / 402.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1153, allocations: 63.83 kB / 402.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.1158, allocations: 183.3 kB / 402.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1161, allocations: 171.6 kB / 402.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.1163, allocations: 64.7 kB / 403 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1164, allocations: 95.61 kB / 403.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.1166, allocations: 115.5 kB / 403.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.1166, allocations: 12 kB / 403.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1167, allocations: 71.86 kB / 403.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.1168, allocations: 43.83 kB / 403.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.807e-05/0.1169, allocations: 69.52 kB / 403.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1172, allocations: 231.5 kB / 403.6 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1172, allocations: 4 kB / 403.6 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1172, allocations: 0 / 403.6 MB, free: 11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1172, allocations: 3.938 kB / 403.6 MB, free: 11 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000898/0.1181, allocations: 0.5857 MB / 404.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1182, allocations: 16.02 kB / 404.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.714e-05/0.1182, allocations: 46.55 kB / 404.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.1183, allocations: 31.62 kB / 404.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.1187, allocations: 298.4 kB / 404.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1187, allocations: 16 kB / 404.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.1188, allocations: 19.91 kB / 404.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.1194, allocations: 317.3 kB / 404.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1194, allocations: 0 / 404.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1194, allocations: 4 kB / 404.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.1195, allocations: 4 kB / 404.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006541/0.1201, allocations: 264.3 kB / 405.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.1213, allocations: 0.9904 MB / 406.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008341/0.1222, allocations: 341 kB / 406.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1222, allocations: 4.062 kB / 406.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.1227, allocations: 255.1 kB / 406.8 MB, free: 7.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.1227, allocations: 0 / 406.8 MB, free: 7.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001261/0.124, allocations: 0.6004 MB / 407.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.1241, allocations: 166.2 kB / 407.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.1243, allocations: 254.6 kB / 407.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1244, allocations: 33.7 kB / 407.8 MB, free: 6.469 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1245, allocations: 164.4 kB / 408 MB, free: 6.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.1246, allocations: 70.98 kB / 408.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.1246, allocations: 4 kB / 408.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1247, allocations: 342.9 kB / 408.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.1251, allocations: 135.9 kB / 408.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.1255, allocations: 213.5 kB / 408.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.1258, allocations: 173.7 kB / 408.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1259, allocations: 0 / 408.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001936/0.1278, allocations: 0.793 MB / 409.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.1281, allocations: 0.5544 MB / 410.3 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1281, allocations: 4 kB / 410.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.1287, allocations: 189.6 kB / 410.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.1289, allocations: 39.91 kB / 410.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005414/0.1343, allocations: 3.897 MB / 414.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.1346, allocations: 43.81 kB / 414.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.1347, allocations: 15.98 kB / 414.4 MB, free: 15.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1347, allocations: 4.062 kB / 414.4 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005195/0.1352, allocations: 301.2 kB / 414.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1352, allocations: 11.89 kB / 414.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.1352, allocations: 0 / 414.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.1355, allocations: 59.89 kB / 414.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1355, allocations: 4.156 kB / 414.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1356, allocations: 27.83 kB / 414.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.1357, allocations: 12 kB / 414.8 MB, free: 15.05 MB / 318.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,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.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): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002388/0.1359, allocations: 266.5 kB / 415.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.136, allocations: 23.72 kB / 415.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.136, allocations: 34.14 kB / 415.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.1361, allocations: 7.984 kB / 415.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1361, allocations: 4 kB / 415.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1361, allocations: 0 / 415.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1364, allocations: 333.2 kB / 415.5 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1364, allocations: 0 / 415.5 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.1367, allocations: 59.95 kB / 415.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1367, allocations: 4 kB / 415.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.1368, allocations: 11.98 kB / 415.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.1368, allocations: 7.891 kB / 415.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1368, allocations: 0 / 415.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006655/0.1435, allocations: 3.828 MB / 419.4 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.1436, allocations: 104.7 kB / 419.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1436, allocations: 12 kB / 419.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1438, allocations: 31.97 kB / 419.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.1439, allocations: 35.97 kB / 419.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.144, allocations: 8 kB / 419.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.1441, allocations: 186 kB / 419.8 MB, free: 9.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1442, allocations: 0 / 419.8 MB, free: 9.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007848/0.1449, allocations: 159.8 kB / 419.9 MB, free: 9.676 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.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 (17): * Single equations (assignments): 16 * 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.001617/0.1466, allocations: 1.267 MB / 421.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.1483, allocations: 0.9464 MB / 422.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1484, allocations: 0 / 422.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.1488, allocations: 259.1 kB / 422.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.1491, allocations: 45.62 kB / 422.4 MB, free: 7.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.1537, allocations: 3.147 MB / 425.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.154, allocations: 0.7717 MB / 426.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.1542, allocations: 41.94 kB / 426.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.1543, allocations: 79.41 kB / 426.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1543, allocations: 0 / 426.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2078/0.3621, allocations: 7.907 MB / 434.4 MB, free: 36.25 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.3623, allocations: 222.4 kB / 434.6 MB, free: 36.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.117, allocations: 0 / 434.6 MB, free: 36.02 MB / 318.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter.fmu > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1) Environment - environmentSimulation: