Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005345/0.0005345, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004376/0.0004376, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.2894/0.2894, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.01846/0.01846, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.438e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(OMLibTestFlagCheck): time 0.0008729/0.0008972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 9.965e-05/0.0009969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.045e-05/0.001007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 9.127e-06/0.001016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 2.159e-05/0.001038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 6.159e-05/0.0011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 3.03e-05/0.00113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.291e-05/0.001153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.001176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 2.069e-05/0.001196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.001206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.102e-06/0.001212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.001222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.118e-05/0.001233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 2.796e-05/0.001261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.001266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.204e-06/0.001268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.348e-06/0.001272, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002698/0.001542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.654e-05/0.001619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.001669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.001823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.001838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.001862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.00199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.002001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.002015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.002019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.002036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.002359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 6.931e-05/0.002429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.002459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.241e-06/0.002465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.002499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 3.867e-05/0.002537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 0.0001691/0.002706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.002754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.002819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.00284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.00291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.002949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.00306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002141/0.003274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.003293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.003312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/0.003363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.003366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002193/0.003585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.003606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.003611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.003619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.768e-05/0.003656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.003661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.003689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.003698, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.003834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.003863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.003892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.003896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.003903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.003909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.004189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.004193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.004221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.004229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.004255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.004259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.004263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.004498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.00452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.853e-05/0.004578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.922e-05/0.004607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.004638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.004649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 5.676e-05/0.004705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.194e-06/0.004707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0008489/0.005556, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.691e-05/0.005653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 7.989e-05/0.005733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.005738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.57e-05/0.005753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.006474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.006719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 7.643e-05/0.006795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.596e-05/0.006811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.006856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0002916/0.007148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0004764/0.007624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.45e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.004897/0.004911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003848/0.008759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.009257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.009727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.01186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0008543/0.01272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.01314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0009147/0.01405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/0.01456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.08e-05/0.01465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.01506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.01522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.01548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00108/0.01656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.253e-05/0.01662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.057e-06/0.01662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.655e-06/0.01663, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.002419/0.01905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.555e-05/0.01913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002888/0.01942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003932/0.01981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.02117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.02124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.02138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.02349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.02352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.02362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.02364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.02534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004657/0.02999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.03246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/0.03333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.0334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/0.03473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=21): time 6.391e-05/0.03479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=21): time 0.003526/0.03832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.03853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.03967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.03984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.04018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.04035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/0.04081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003019/0.04111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008775/0.04199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.04336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/0.04571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.04572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=25) (initialization): time 0.00243/0.04815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/0.04823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.04824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.04825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.04877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.04879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.04924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.04932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007947/0.05012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006997/0.05082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001011/0.05183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.089e-06/0.05183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.001793/0.05363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.0537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.05371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.05372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.05407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.05408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.05447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.05453, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (inputSignal.nextEventScaled,inputSignal.nextEvent,$PRE.inputSignal.nextEvent,inputSignal.last,inputSignal.b,inputSignal.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005226/0.05506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.05533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.05551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.05552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.05554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.05555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.0569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.05691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.05739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.0574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.0575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.05751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.05752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.06075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.06103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.06132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.06172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.06197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.611e-05/0.06205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006441/0.0627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.256e-05/0.06271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001777/0.06449, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (PIController.firstOrder.y,PIControllerNegativeKp.firstOrder.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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00481/0.0693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002589/0.07189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.0719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0009352/0.07283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.07455, allocations: 0 / 0, free: 0 / 0 Warning: Adding unknown FMU simulation flag \"lv\" . Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.08947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.08992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003881/0.09031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/0.09106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0006756/0.09174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.004156/0.09589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.002174/0.09807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03708/0.1351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 8.375e-06/0.1352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.452e-05/0.1352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0002032/0.1354, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=240,outputFormat="mat",variableFilter="PController.G.k|PController.G.u|PController.G.y|PController.Ki|PController.Kp|PController.feedback.y|PController.initType|PController.lim.homotopyType|PController.lim.limitsAtInit|PController.lim.strict|PController.lim.u|PController.lim.uMax|PController.lim.uMin|PController.lim.y|PController.noDynamics|PController.strict|PController.u|PController.y|PController.yMax|PController.yMin|PController.yStart|PController.zero.y|PControllerAnalyticSolution.y|PIController.G.k|PIController.G.u|PIController.G.y|PIController.Ki|PIController.Kp|PIController.feedback.y|PIController.firstOrder.T|PIController.firstOrder.initType|PIController.firstOrder.k|PIController.firstOrder.u|PIController.firstOrder.y|PIController.firstOrder.y_start|PIController.initType|PIController.lim.homotopyType|PIController.lim.limitsAtInit|PIController.lim.strict|PIController.lim.u|PIController.lim.uMax|PIController.lim.uMin|PIController.lim.y|PIController.noDynamics|PIController.strict|PIController.u|PIController.y|PIController.yMax|PIController.yMin|PIController.yStart|PIControllerAnalyticSolution.y|PIControllerNegativeKp.G.k|PIControllerNegativeKp.G.u|PIControllerNegativeKp.G.y|PIControllerNegativeKp.Ki|PIControllerNegativeKp.Kp|PIControllerNegativeKp.feedback.y|PIControllerNegativeKp.firstOrder.T|PIControllerNegativeKp.firstOrder.initType|PIControllerNegativeKp.firstOrder.k|PIControllerNegativeKp.firstOrder.u|PIControllerNegativeKp.firstOrder.y|PIControllerNegativeKp.firstOrder.y_start|PIControllerNegativeKp.initType|PIControllerNegativeKp.lim.homotopyType|PIControllerNegativeKp.lim.limitsAtInit|PIControllerNegativeKp.lim.strict|PIControllerNegativeKp.lim.u|PIControllerNegativeKp.lim.uMax|PIControllerNegativeKp.lim.uMin|PIControllerNegativeKp.lim.y|PIControllerNegativeKp.noDynamics|PIControllerNegativeKp.strict|PIControllerNegativeKp.u|PIControllerNegativeKp.y|PIControllerNegativeKp.yMax|PIControllerNegativeKp.yMin|PIControllerNegativeKp.yStart|inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.1,1.|inputSignal.table.1,2.|inputSignal.table.2,1.|inputSignal.table.2,2.|inputSignal.table.3,1.|inputSignal.table.3,2.|inputSignal.table.4,1.|inputSignal.table.4,2.|inputSignal.table.5,1.|inputSignal.table.5,2.|inputSignal.table.6,1.|inputSignal.table.6,2.|inputSignal.timeScale|inputSignal.y|negative.k|negative.u|negative.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter",simflags=" -lv=LOG_STATS -s=dassl -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=12 -tolerance=1e-06 -stepSize=0.05 -r=PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat",resimulateExecutable="PowerGrids_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=240,outputFormat="mat",variableFilter="PController.G.k|PController.G.u|PController.G.y|PController.Ki|PController.Kp|PController.feedback.y|PController.initType|PController.lim.homotopyType|PController.lim.limitsAtInit|PController.lim.strict|PController.lim.u|PController.lim.uMax|PController.lim.uMin|PController.lim.y|PController.noDynamics|PController.strict|PController.u|PController.y|PController.yMax|PController.yMin|PController.yStart|PController.zero.y|PControllerAnalyticSolution.y|PIController.G.k|PIController.G.u|PIController.G.y|PIController.Ki|PIController.Kp|PIController.feedback.y|PIController.firstOrder.T|PIController.firstOrder.initType|PIController.firstOrder.k|PIController.firstOrder.u|PIController.firstOrder.y|PIController.firstOrder.y_start|PIController.initType|PIController.lim.homotopyType|PIController.lim.limitsAtInit|PIController.lim.strict|PIController.lim.u|PIController.lim.uMax|PIController.lim.uMin|PIController.lim.y|PIController.noDynamics|PIController.strict|PIController.u|PIController.y|PIController.yMax|PIController.yMin|PIController.yStart|PIControllerAnalyticSolution.y|PIControllerNegativeKp.G.k|PIControllerNegativeKp.G.u|PIControllerNegativeKp.G.y|PIControllerNegativeKp.Ki|PIControllerNegativeKp.Kp|PIControllerNegativeKp.feedback.y|PIControllerNegativeKp.firstOrder.T|PIControllerNegativeKp.firstOrder.initType|PIControllerNegativeKp.firstOrder.k|PIControllerNegativeKp.firstOrder.u|PIControllerNegativeKp.firstOrder.y|PIControllerNegativeKp.firstOrder.y_start|PIControllerNegativeKp.initType|PIControllerNegativeKp.lim.homotopyType|PIControllerNegativeKp.lim.limitsAtInit|PIControllerNegativeKp.lim.strict|PIControllerNegativeKp.lim.u|PIControllerNegativeKp.lim.uMax|PIControllerNegativeKp.lim.uMin|PIControllerNegativeKp.lim.y|PIControllerNegativeKp.noDynamics|PIControllerNegativeKp.strict|PIControllerNegativeKp.u|PIControllerNegativeKp.y|PIControllerNegativeKp.yMax|PIControllerNegativeKp.yMin|PIControllerNegativeKp.yStart|inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.1,1.|inputSignal.table.1,2.|inputSignal.table.2,1.|inputSignal.table.2,2.|inputSignal.table.3,1.|inputSignal.table.3,2.|inputSignal.table.4,1.|inputSignal.table.4,2.|inputSignal.table.5,1.|inputSignal.table.5,2.|inputSignal.table.6,1.|inputSignal.table.6,2.|inputSignal.timeScale|inputSignal.y|negative.k|negative.u|negative.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter",simflags=" -lv=LOG_STATS -s=dassl -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=12 -tolerance=1e-06 -stepSize=0.05 -r=PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_me_res.mat -s fmi3:me:daskr",resimulateExecutable="PowerGrids_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,startTime=0,stopTime=12,tolerance=1e-06,numberOfIntervals=240,outputFormat="mat",variableFilter="PController.G.k|PController.G.u|PController.G.y|PController.Ki|PController.Kp|PController.feedback.y|PController.initType|PController.lim.homotopyType|PController.lim.limitsAtInit|PController.lim.strict|PController.lim.u|PController.lim.uMax|PController.lim.uMin|PController.lim.y|PController.noDynamics|PController.strict|PController.u|PController.y|PController.yMax|PController.yMin|PController.yStart|PController.zero.y|PControllerAnalyticSolution.y|PIController.G.k|PIController.G.u|PIController.G.y|PIController.Ki|PIController.Kp|PIController.feedback.y|PIController.firstOrder.T|PIController.firstOrder.initType|PIController.firstOrder.k|PIController.firstOrder.u|PIController.firstOrder.y|PIController.firstOrder.y_start|PIController.initType|PIController.lim.homotopyType|PIController.lim.limitsAtInit|PIController.lim.strict|PIController.lim.u|PIController.lim.uMax|PIController.lim.uMin|PIController.lim.y|PIController.noDynamics|PIController.strict|PIController.u|PIController.y|PIController.yMax|PIController.yMin|PIController.yStart|PIControllerAnalyticSolution.y|PIControllerNegativeKp.G.k|PIControllerNegativeKp.G.u|PIControllerNegativeKp.G.y|PIControllerNegativeKp.Ki|PIControllerNegativeKp.Kp|PIControllerNegativeKp.feedback.y|PIControllerNegativeKp.firstOrder.T|PIControllerNegativeKp.firstOrder.initType|PIControllerNegativeKp.firstOrder.k|PIControllerNegativeKp.firstOrder.u|PIControllerNegativeKp.firstOrder.y|PIControllerNegativeKp.firstOrder.y_start|PIControllerNegativeKp.initType|PIControllerNegativeKp.lim.homotopyType|PIControllerNegativeKp.lim.limitsAtInit|PIControllerNegativeKp.lim.strict|PIControllerNegativeKp.lim.u|PIControllerNegativeKp.lim.uMax|PIControllerNegativeKp.lim.uMin|PIControllerNegativeKp.lim.y|PIControllerNegativeKp.noDynamics|PIControllerNegativeKp.strict|PIControllerNegativeKp.u|PIControllerNegativeKp.y|PIControllerNegativeKp.yMax|PIControllerNegativeKp.yMin|PIControllerNegativeKp.yStart|inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.1,1.|inputSignal.table.1,2.|inputSignal.table.2,1.|inputSignal.table.2,2.|inputSignal.table.3,1.|inputSignal.table.3,2.|inputSignal.table.4,1.|inputSignal.table.4,2.|inputSignal.table.5,1.|inputSignal.table.5,2.|inputSignal.table.6,1.|inputSignal.table.6,2.|inputSignal.timeScale|inputSignal.y|negative.k|negative.u|negative.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter",simflags=" -lv=LOG_STATS -s=dassl -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=12 -tolerance=1e-06 -stepSize=0.05 -r=PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_cs_res.mat -s fmi3:cs",resimulateExecutable="PowerGrids_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_cs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.3858587009599432]