Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.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.0005739/0.0005739, 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.0004063/0.0004063, 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.2885/0.2885, 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.02566/0.02566, 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.TestLeadLagWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestLeadLagWithNonWindupLimiter",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestLeadLagWithNonWindupLimiter",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.57e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(OMLibTestFlagCheck): time 0.0008126/0.0008283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 7.742e-05/0.0009057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-06/0.0009143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 7.253e-06/0.0009216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 1.763e-05/0.0009392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 5.734e-05/0.0009965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 3.956e-05/0.001036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 1.882e-05/0.001055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.001078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 1.969e-05/0.001098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.001107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.632e-06/0.001113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.001123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.135e-05/0.001135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 2.669e-05/0.001161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.001166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.312e-06/0.001167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.717e-06/0.001171, 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.0002246/0.001396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.001449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.001484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.001621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.001628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.001639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 6.859e-05/0.001707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.88e-06/0.001712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.001718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-06/0.00172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.21e-05/0.001732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.002006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 4.006e-05/0.002047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.002068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.501e-06/0.002074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.002106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 3.78e-05/0.002143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 0.0001118/0.002255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.0023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.655e-05/0.002357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.002369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.002416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.002438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.002525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002204/0.002745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.002763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.002783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.002832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.002835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002119/0.003047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.003067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.003071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.003076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-05/0.003107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.003111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.003136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.003144, 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.0001135/0.003257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.003284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.003306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.003309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.003312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.003317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.003561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.003563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.003584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.003588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.003599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.003602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.003605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.003751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.00377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.003803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.003823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.00384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.003844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 5.139e-05/0.003896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.175e-06/0.003898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0007934/0.004691, 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 8.207e-05/0.004774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 6.878e-05/0.004842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.004846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.004861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006829/0.005544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.005769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.005837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.628e-05/0.005853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.005887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0002288/0.006116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0003042/0.00642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.28e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.004607/0.00462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002878/0.007498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.0078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.008152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.008668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.009714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0006169/0.01033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.01064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.01114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.01152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.332e-05/0.0116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.01196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.0121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.01233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001069/0.0134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.618e-05/0.01345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.653e-06/0.01345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.843e-06/0.01346, 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002007/0.01546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.01553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002353/0.01577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.0161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.01725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.0173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.01743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.01904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.01906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.829e-05/0.01915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.01917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.02048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003602/0.02408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.02557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000702/0.02627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.02631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009417/0.02725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=22): time 4.828e-05/0.0273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=22): time 0.002499/0.0298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.02994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.03097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.03109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.03135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.03151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.03187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002722/0.03214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/0.03281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009157/0.03373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.03511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.03512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=29) (initialization): time 0.003478/0.0386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.03867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.03868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.04012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.04039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.05199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.05237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/0.05246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007699/0.05323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007095/0.05394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001023/0.05496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/0.05497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.002114/0.05708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.05715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.05716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0006322/0.05779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.05805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007493/0.06555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.06591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.06598, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (inputSignal.nextEventScaled,inputSignal.nextEvent,$PRE.inputSignal.nextEvent,inputSignal.last,inputSignal.b,inputSignal.a,$whenCondition1,leadLagNegativeGain.integ_fb.local_reset,leadLagPositiveGain.integ_fb.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00048/0.06646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.06671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.06687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.06688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.06688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.06689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.06842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.06843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-05/0.06853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.06853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.06854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.07133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.0716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.0718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.07213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.07233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/0.0724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006067/0.07301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.203e-05/0.07302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002643/0.07566, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (leadLagPositiveGain.integ_fb.y,leadLagNegativeGain.integ_fb.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 (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.003783/0.07945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003908/0.08335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.08336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.08418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.08569, 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.01694/0.1026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.1031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002917/0.1034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006395/0.104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0009285/0.1049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.003848/0.1088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.002474/0.1113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03722/0.1485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 6.452e-06/0.1485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.127e-05/0.1485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0001766/0.1487, 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.TestLeadLagWithNonWindupLimiter,startTime=0,stopTime=20,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="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|leadLagAnalyticSolution.y|leadLagNegativeGain.T1|leadLagNegativeGain.T2|leadLagNegativeGain.feedback_u.y|leadLagNegativeGain.feedback_y.y|leadLagNegativeGain.gain_dir.k|leadLagNegativeGain.gain_dir.u|leadLagNegativeGain.gain_dir.y|leadLagNegativeGain.gain_fb.k|leadLagNegativeGain.gain_fb.u|leadLagNegativeGain.gain_fb.y|leadLagNegativeGain.initType|leadLagNegativeGain.integ_fb.initType|leadLagNegativeGain.integ_fb.k|leadLagNegativeGain.integ_fb.u|leadLagNegativeGain.integ_fb.y|leadLagNegativeGain.integ_fb.y_start|leadLagNegativeGain.k|leadLagNegativeGain.limiter_y.homotopyType|leadLagNegativeGain.limiter_y.limitsAtInit|leadLagNegativeGain.limiter_y.strict|leadLagNegativeGain.limiter_y.u|leadLagNegativeGain.limiter_y.uMax|leadLagNegativeGain.limiter_y.uMin|leadLagNegativeGain.limiter_y.y|leadLagNegativeGain.strict|leadLagNegativeGain.u|leadLagNegativeGain.y|leadLagNegativeGain.yMax|leadLagNegativeGain.yMin|leadLagNegativeGain.yStart|leadLagPositiveGain.T1|leadLagPositiveGain.T2|leadLagPositiveGain.feedback_u.y|leadLagPositiveGain.feedback_y.y|leadLagPositiveGain.gain_dir.k|leadLagPositiveGain.gain_dir.u|leadLagPositiveGain.gain_dir.y|leadLagPositiveGain.gain_fb.k|leadLagPositiveGain.gain_fb.u|leadLagPositiveGain.gain_fb.y|leadLagPositiveGain.initType|leadLagPositiveGain.integ_fb.initType|leadLagPositiveGain.integ_fb.k|leadLagPositiveGain.integ_fb.u|leadLagPositiveGain.integ_fb.y|leadLagPositiveGain.integ_fb.y_start|leadLagPositiveGain.k|leadLagPositiveGain.limiter_y.homotopyType|leadLagPositiveGain.limiter_y.limitsAtInit|leadLagPositiveGain.limiter_y.strict|leadLagPositiveGain.limiter_y.u|leadLagPositiveGain.limiter_y.uMax|leadLagPositiveGain.limiter_y.uMin|leadLagPositiveGain.limiter_y.y|leadLagPositiveGain.strict|leadLagPositiveGain.u|leadLagPositiveGain.y|leadLagPositiveGain.yMax|leadLagPositiveGain.yMin|leadLagPositiveGain.yStart|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter",simflags=" -lv=LOG_STATS -s=dassl -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=20 -tolerance=1e-06 -stepSize=0.02 -r=PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat",resimulateExecutable="PowerGrids_PowerGrids_Controls_Test_TestLeadLagWithNonWindupLimiter.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,startTime=0,stopTime=20,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="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|leadLagAnalyticSolution.y|leadLagNegativeGain.T1|leadLagNegativeGain.T2|leadLagNegativeGain.feedback_u.y|leadLagNegativeGain.feedback_y.y|leadLagNegativeGain.gain_dir.k|leadLagNegativeGain.gain_dir.u|leadLagNegativeGain.gain_dir.y|leadLagNegativeGain.gain_fb.k|leadLagNegativeGain.gain_fb.u|leadLagNegativeGain.gain_fb.y|leadLagNegativeGain.initType|leadLagNegativeGain.integ_fb.initType|leadLagNegativeGain.integ_fb.k|leadLagNegativeGain.integ_fb.u|leadLagNegativeGain.integ_fb.y|leadLagNegativeGain.integ_fb.y_start|leadLagNegativeGain.k|leadLagNegativeGain.limiter_y.homotopyType|leadLagNegativeGain.limiter_y.limitsAtInit|leadLagNegativeGain.limiter_y.strict|leadLagNegativeGain.limiter_y.u|leadLagNegativeGain.limiter_y.uMax|leadLagNegativeGain.limiter_y.uMin|leadLagNegativeGain.limiter_y.y|leadLagNegativeGain.strict|leadLagNegativeGain.u|leadLagNegativeGain.y|leadLagNegativeGain.yMax|leadLagNegativeGain.yMin|leadLagNegativeGain.yStart|leadLagPositiveGain.T1|leadLagPositiveGain.T2|leadLagPositiveGain.feedback_u.y|leadLagPositiveGain.feedback_y.y|leadLagPositiveGain.gain_dir.k|leadLagPositiveGain.gain_dir.u|leadLagPositiveGain.gain_dir.y|leadLagPositiveGain.gain_fb.k|leadLagPositiveGain.gain_fb.u|leadLagPositiveGain.gain_fb.y|leadLagPositiveGain.initType|leadLagPositiveGain.integ_fb.initType|leadLagPositiveGain.integ_fb.k|leadLagPositiveGain.integ_fb.u|leadLagPositiveGain.integ_fb.y|leadLagPositiveGain.integ_fb.y_start|leadLagPositiveGain.k|leadLagPositiveGain.limiter_y.homotopyType|leadLagPositiveGain.limiter_y.limitsAtInit|leadLagPositiveGain.limiter_y.strict|leadLagPositiveGain.limiter_y.u|leadLagPositiveGain.limiter_y.uMax|leadLagPositiveGain.limiter_y.uMin|leadLagPositiveGain.limiter_y.y|leadLagPositiveGain.strict|leadLagPositiveGain.u|leadLagPositiveGain.y|leadLagPositiveGain.yMax|leadLagPositiveGain.yMin|leadLagPositiveGain.yStart|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter",simflags=" -lv=LOG_STATS -s=dassl -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=20 -tolerance=1e-06 -stepSize=0.02 -r=PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_me_res.mat -s fmi3:me:daskr",resimulateExecutable="PowerGrids_PowerGrids_Controls_Test_TestLeadLagWithNonWindupLimiter.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,startTime=0,stopTime=20,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="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|leadLagAnalyticSolution.y|leadLagNegativeGain.T1|leadLagNegativeGain.T2|leadLagNegativeGain.feedback_u.y|leadLagNegativeGain.feedback_y.y|leadLagNegativeGain.gain_dir.k|leadLagNegativeGain.gain_dir.u|leadLagNegativeGain.gain_dir.y|leadLagNegativeGain.gain_fb.k|leadLagNegativeGain.gain_fb.u|leadLagNegativeGain.gain_fb.y|leadLagNegativeGain.initType|leadLagNegativeGain.integ_fb.initType|leadLagNegativeGain.integ_fb.k|leadLagNegativeGain.integ_fb.u|leadLagNegativeGain.integ_fb.y|leadLagNegativeGain.integ_fb.y_start|leadLagNegativeGain.k|leadLagNegativeGain.limiter_y.homotopyType|leadLagNegativeGain.limiter_y.limitsAtInit|leadLagNegativeGain.limiter_y.strict|leadLagNegativeGain.limiter_y.u|leadLagNegativeGain.limiter_y.uMax|leadLagNegativeGain.limiter_y.uMin|leadLagNegativeGain.limiter_y.y|leadLagNegativeGain.strict|leadLagNegativeGain.u|leadLagNegativeGain.y|leadLagNegativeGain.yMax|leadLagNegativeGain.yMin|leadLagNegativeGain.yStart|leadLagPositiveGain.T1|leadLagPositiveGain.T2|leadLagPositiveGain.feedback_u.y|leadLagPositiveGain.feedback_y.y|leadLagPositiveGain.gain_dir.k|leadLagPositiveGain.gain_dir.u|leadLagPositiveGain.gain_dir.y|leadLagPositiveGain.gain_fb.k|leadLagPositiveGain.gain_fb.u|leadLagPositiveGain.gain_fb.y|leadLagPositiveGain.initType|leadLagPositiveGain.integ_fb.initType|leadLagPositiveGain.integ_fb.k|leadLagPositiveGain.integ_fb.u|leadLagPositiveGain.integ_fb.y|leadLagPositiveGain.integ_fb.y_start|leadLagPositiveGain.k|leadLagPositiveGain.limiter_y.homotopyType|leadLagPositiveGain.limiter_y.limitsAtInit|leadLagPositiveGain.limiter_y.strict|leadLagPositiveGain.limiter_y.u|leadLagPositiveGain.limiter_y.uMax|leadLagPositiveGain.limiter_y.uMin|leadLagPositiveGain.limiter_y.y|leadLagPositiveGain.strict|leadLagPositiveGain.u|leadLagPositiveGain.y|leadLagPositiveGain.yMax|leadLagPositiveGain.yMin|leadLagPositiveGain.yStart|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter",simflags=" -lv=LOG_STATS -s=dassl -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=20 -tolerance=1e-06 -stepSize=0.02 -r=PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_cs_res.mat -s fmi3:cs",resimulateExecutable="PowerGrids_PowerGrids_Controls_Test_TestLeadLagWithNonWindupLimiter.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_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.4350630789995193]