Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,fileNamePrefix="PowerGrids_dev_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.0009679/0.0009713, allocations: 99.23 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.0009838/0.0009839, 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 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2368/0.2368, allocations: 14.17 MB / 305.1 MB, free: 1.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003359, allocations: 8 kB / 371.7 MB, free: 4.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3204, allocations: 53.91 MB / 425.6 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.001803/0.3223, allocations: 1.675 MB / 427.3 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3235, allocations: 0.7538 MB / 428 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.3236, allocations: 8.812 kB / 428 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.3238, allocations: 38.55 kB / 428.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.324, allocations: 75.61 kB / 428.1 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.3244, allocations: 167.4 kB / 428.3 MB, free: 38.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.3246, allocations: 174.9 kB / 428.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3248, allocations: 59.22 kB / 428.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.3249, allocations: 103 kB / 428.6 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.325, allocations: 114 kB / 428.7 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.3251, allocations: 8.094 kB / 428.8 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3252, allocations: 70.86 kB / 428.8 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.3253, allocations: 52.62 kB / 428.9 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.3253, allocations: 63.89 kB / 428.9 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3255, allocations: 228.4 kB / 429.2 MB, free: 38.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3255, allocations: 2.719 kB / 429.2 MB, free: 38.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3255, allocations: 1 kB / 429.2 MB, free: 38.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3256, allocations: 0 / 429.2 MB, free: 38.55 MB / 350.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.0006952/0.3263, allocations: 0.5776 MB / 429.7 MB, free: 38.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3263, allocations: 9.375 kB / 429.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.3264, allocations: 48.11 kB / 429.8 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.3264, allocations: 36.16 kB / 429.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.3267, allocations: 297.5 kB / 430.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3267, allocations: 15.38 kB / 430.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.3268, allocations: 15.06 kB / 430.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.3273, allocations: 313 kB / 430.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3273, allocations: 4.078 kB / 430.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.3273, allocations: 13.77 kB / 430.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3274, allocations: 6.219 kB / 430.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.328, allocations: 265.7 kB / 430.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.329, allocations: 0.9781 MB / 431.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/0.3298, allocations: 340.1 kB / 432.1 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3298, allocations: 10 kB / 432.1 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004634/0.3303, allocations: 252.3 kB / 432.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.3303, allocations: 0 / 432.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001162/0.3315, allocations: 0.6082 MB / 432.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3315, allocations: 164.7 kB / 433.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3318, allocations: 250.6 kB / 433.3 MB, free: 36.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3318, allocations: 29.97 kB / 433.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.3319, allocations: 160 kB / 433.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.3319, allocations: 71.47 kB / 433.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.332, allocations: 9.625 kB / 433.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.332, allocations: 337.9 kB / 433.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.3323, allocations: 135.4 kB / 434 MB, free: 35.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.3327, allocations: 219.8 kB / 434.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.333, allocations: 168.6 kB / 434.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.333, allocations: 0 / 434.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00185/0.3349, allocations: 0.7801 MB / 435.2 MB, free: 35.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.335, allocations: 0.5623 MB / 435.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3351, allocations: 3.031 kB / 435.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/0.3356, allocations: 187.8 kB / 436 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.3359, allocations: 44.53 kB / 436 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/0.3403, allocations: 3.9 MB / 439.9 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.3407, allocations: 46.66 kB / 439.9 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.3407, allocations: 13.12 kB / 440 MB, free: 32.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.3407, allocations: 3.125 kB / 440 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000483/0.3412, allocations: 298.7 kB / 440.3 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3412, allocations: 3.125 kB / 440.3 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-06/0.3412, allocations: 0 / 440.3 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3415, allocations: 64.67 kB / 440.3 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3415, allocations: 3.969 kB / 440.3 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3416, allocations: 32.17 kB / 440.4 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3417, allocations: 6.375 kB / 440.4 MB, free: 31.93 MB / 350.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.0002006/0.3419, allocations: 268.4 kB / 440.6 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3419, allocations: 28.73 kB / 440.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.342, allocations: 28.09 kB / 440.7 MB, free: 31.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.342, allocations: 3.188 kB / 440.7 MB, free: 31.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.342, allocations: 0 / 440.7 MB, free: 31.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.342, allocations: 7.281 kB / 440.7 MB, free: 31.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3423, allocations: 339.4 kB / 441 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3423, allocations: 3.938 kB / 441 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.3426, allocations: 69.38 kB / 441.1 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3426, allocations: 2.938 kB / 441.1 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.3427, allocations: 6.141 kB / 441.1 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3427, allocations: 0 / 441.1 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3427, allocations: 6.969 kB / 441.1 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3438, allocations: 0.6245 MB / 441.7 MB, free: 31.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.3439, allocations: 102.9 kB / 441.8 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.3439, allocations: 6 kB / 441.8 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.3442, allocations: 39.25 kB / 441.9 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.3443, allocations: 30.81 kB / 441.9 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.3443, allocations: 10.31 kB / 441.9 MB, free: 30.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3445, allocations: 183.9 kB / 442.1 MB, free: 30.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3445, allocations: 3.938 kB / 442.1 MB, free: 30.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005995/0.3451, allocations: 112.2 kB / 442.2 MB, free: 30.85 MB / 350.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.001445/0.3465, allocations: 1.268 MB / 443.5 MB, free: 29.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.3481, allocations: 0.9412 MB / 444.4 MB, free: 29.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3481, allocations: 3.281 kB / 444.4 MB, free: 29.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.3485, allocations: 253.3 kB / 444.7 MB, free: 29.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3488, allocations: 54.19 kB / 444.7 MB, free: 29.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.3527, allocations: 2.876 MB / 447.6 MB, free: 27.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.3529, allocations: 0.7652 MB / 448.4 MB, free: 26.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.3531, allocations: 36.05 kB / 448.4 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.3532, allocations: 75.62 kB / 448.5 MB, free: 26.83 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3532, allocations: 4 kB / 448.5 MB, free: 26.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.3755, allocations: 7.163 MB / 455.6 MB, free: 26.22 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.3758, allocations: 225 kB / 455.9 MB, free: 25.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.117, allocations: 3.375 kB / 455.9 MB, free: 25.98 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter.fmu > PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)