Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.0005059/0.0005059, 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.0005175/0.0005175, 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.2928/0.2928, 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.024/0.024, 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_symb_jac_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.004e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(OMLibTestFlagCheck): time 0.0009509/0.0009709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 9.019e-05/0.001061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.039e-05/0.001072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 7.304e-06/0.001079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 1.821e-05/0.001097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 7.892e-05/0.001176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 3.576e-05/0.001212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.987e-05/0.001242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.001279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.001311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.001322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.001328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.00134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.21e-05/0.001352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 2.924e-05/0.001381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.001387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.495e-06/0.001389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.708e-06/0.001394, 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.000252/0.001646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.001702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.001739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.001887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.001895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.001908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 7.583e-05/0.001984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.00199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.001998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-06/0.002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.255e-05/0.002013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.002286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.002331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.002354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.00236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.002399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 3.892e-05/0.002438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 0.0001112/0.002549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.002596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/0.002656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.00267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.002722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.002745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.002843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002111/0.003054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.003071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.003089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/0.003135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.00314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002081/0.003348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.003368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.003372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.003379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.968e-05/0.003408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.003413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.003441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.003452, 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.0001239/0.003576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.003603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.907e-05/0.003623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.003626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.003629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.003634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.003874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.003877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.003899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.003903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.003913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.003916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.003919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.005433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.005442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.005469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.196e-05/0.005491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.005508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.005515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 5.003e-05/0.005565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.244e-06/0.005567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001195/0.006762, 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 0.000104/0.006866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 8.261e-05/0.006949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.006954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.562e-05/0.006969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/0.007682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.008059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 6.905e-05/0.008128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.646e-05/0.008145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.008182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003372/0.00852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0004208/0.00894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.639e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.005038/0.005054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003503/0.008557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.008922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.009321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.009804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.01106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000716/0.01178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.01211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.01268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.01308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.161e-05/0.01317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.01354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000152/0.0137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.01395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001026/0.01497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.252e-05/0.01503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.207e-06/0.01503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.075e-06/0.01504, 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.002467/0.01751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.237e-05/0.01759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002664/0.01786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.01823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.0195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.01957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.01972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.02157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.02159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.823e-05/0.02169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.0217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.02329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.02715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.02929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0008211/0.03011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.03016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.03134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=21): time 5.511e-05/0.03139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=21): time 0.003213/0.03461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001963/0.0348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.03582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.03596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.03625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.0364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/0.03679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002882/0.03708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008075/0.03789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.03908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.04071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.04072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=25) (initialization): time 0.002503/0.04322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.04331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.04332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.04333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.04386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.04388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.04432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.04443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008405/0.04527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007267/0.04599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001063/0.04706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/0.04706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.00189/0.04895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/0.04904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.04905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.04906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.04947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.04949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.04993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.05, 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.0005135/0.05052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.0508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.05099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.05101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.05228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.05229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.05279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.0528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.0529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.639e-06/0.05291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.05292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/0.06905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.06933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.06954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.06995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.07019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.771e-05/0.07028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006439/0.07092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.296e-05/0.07093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00294/0.07387, 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.004522/0.07839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002721/0.08112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.08112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001013/0.08214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.08384, 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.01633/0.1002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.1007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004242/0.1011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008675/0.1019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0009116/0.1029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.004332/0.1072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.002899/0.1101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.04523/0.1553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 7.754e-06/0.1553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 2.174e-05/0.1554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0002057/0.1556, 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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat",resimulateExecutable="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_me_res.mat -s fmi3:me:daskr",resimulateExecutable="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_cs_res.mat -s fmi3:cs",resimulateExecutable="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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.4890040799509734]