Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002486/0.002486, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.736/1.736, allocations: 230.6 MB / 252.7 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 178] 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.005929/0.005929, allocations: 213.5 kB / 309.2 MB, free: 1.953 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.7901/0.7901, allocations: 119 MB / 484.7 MB, free: 14.77 MB / 346.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc") translateModel(OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.009423/0.009423, allocations: 87.86 kB / 0.6517 GB, free: 6.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1938, allocations: 83.15 MB / 0.733 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc): time 0.003812/0.1976, allocations: 1.929 MB / 0.7348 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1989, allocations: 0.5807 MB / 0.7354 GB, free: 244 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.236e-05/0.199, allocations: 0 / 0.7354 GB, free: 244 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.931e-05/0.199, allocations: 19.78 kB / 0.7354 GB, free: 224 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1993, allocations: 39.66 kB / 0.7355 GB, free: 184 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1995, allocations: 111.8 kB / 0.7356 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000313/0.1998, allocations: 239.9 kB / 0.7358 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.2, allocations: 56.45 kB / 0.7359 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.2002, allocations: 107.7 kB / 0.736 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2004, allocations: 115.5 kB / 0.7361 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.2005, allocations: 32 kB / 0.7361 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.606e-05/0.2005, allocations: 28 kB / 0.7361 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.2006, allocations: 59.83 kB / 0.7362 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2007, allocations: 91.56 kB / 0.7363 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.2011, allocations: 326.8 kB / 0.7366 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2011, allocations: 3.938 kB / 0.7366 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2011, allocations: 0 / 0.7366 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2011, allocations: 0 / 0.7366 GB, free: 15.03 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001118/0.2022, allocations: 453.4 kB / 0.737 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2023, allocations: 8.031 kB / 0.737 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.2024, allocations: 24.8 kB / 0.737 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.2025, allocations: 142.2 kB / 0.7372 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.2027, allocations: 71.97 kB / 0.7372 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.2027, allocations: 20.12 kB / 0.7373 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.2033, allocations: 253.4 kB / 0.7375 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2033, allocations: 0 / 0.7375 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.2033, allocations: 4 kB / 0.7375 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.2034, allocations: 8 kB / 0.7375 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006683/0.204, allocations: 259.8 kB / 0.7378 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.2054, allocations: 0.5621 MB / 0.7383 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.206, allocations: 204.5 kB / 0.7385 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.2063, allocations: 112.9 kB / 0.7386 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.2063, allocations: 4 kB / 0.7386 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.2063, allocations: 30.56 kB / 0.7387 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 1.152e-06/0.2063, allocations: 0 / 0.7387 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001046/0.2074, allocations: 357.3 kB / 0.739 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.2074, allocations: 55.41 kB / 0.739 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.2076, allocations: 152.5 kB / 0.7392 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.2076, allocations: 29.7 kB / 0.7392 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2077, allocations: 132.5 kB / 0.7393 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.2078, allocations: 63.44 kB / 0.7394 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2079, allocations: 41.69 kB / 0.7394 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2081, allocations: 326.8 kB / 0.7398 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.2083, allocations: 79.94 kB / 0.7398 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.2086, allocations: 79.95 kB / 0.7399 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.209, allocations: 174.8 kB / 0.7401 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.209, allocations: 0 / 0.7401 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005907/0.2096, allocations: 239.3 kB / 0.7403 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.2097, allocations: 8 kB / 0.7403 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2097, allocations: 4 kB / 0.7403 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2097, allocations: 0 / 0.7403 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.21, allocations: 43.95 kB / 0.7404 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.21, allocations: 4 kB / 0.7404 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.2102, allocations: 19.88 kB / 0.7404 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.2102, allocations: 7.984 kB / 0.7404 GB, free: 10.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (virtualResistor.limited) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001449/0.2103, allocations: 133.7 kB / 0.7405 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.2104, allocations: 19.91 kB / 0.7405 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008443/0.2112, allocations: 294.6 kB / 0.7408 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2112, allocations: 0 / 0.7408 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2112, allocations: 7.938 kB / 0.7408 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2112, allocations: 0 / 0.7408 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.2116, allocations: 201.1 kB / 0.741 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2116, allocations: 4 kB / 0.741 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.2119, allocations: 47.97 kB / 0.7411 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.2119, allocations: 3.984 kB / 0.7411 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.2119, allocations: 4 kB / 0.7411 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2119, allocations: 0 / 0.7411 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2119, allocations: 0 / 0.7411 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.2126, allocations: 356.8 kB / 0.7414 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.2127, allocations: 11.89 kB / 0.7414 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.2127, allocations: 7.953 kB / 0.7414 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.2129, allocations: 19.98 kB / 0.7415 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.213, allocations: 19.89 kB / 0.7415 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.213, allocations: 15.92 kB / 0.7415 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001285/0.2132, allocations: 122.1 kB / 0.7416 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.2132, allocations: 0 / 0.7416 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004065/0.2136, allocations: 43.89 kB / 0.7416 GB, free: 9.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (virtualResistor.limited) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001335/0.2137, allocations: 107.2 kB / 0.7417 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000565/0.2143, allocations: 193.3 kB / 0.7419 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2143, allocations: 0 / 0.7419 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.2146, allocations: 111.8 kB / 0.742 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2148, allocations: 12 kB / 0.7421 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.2157, allocations: 339.7 kB / 0.7424 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.2158, allocations: 112.3 kB / 0.7425 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.2159, allocations: 29.41 kB / 0.7425 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.216, allocations: 19.42 kB / 0.7425 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of SimCode: time 4e-07/0.216, allocations: 0 / 0.7425 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of Templates: time 0.006632/0.2226, allocations: 2.603 MB / 0.7451 GB, free: 6.062 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc.sim & ./OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.VirtualResistorCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.072507301112637]