Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc.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.001326/0.001326, allocations: 112.3 kB / 19.71 MB, free: 432 kB / 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 0.9714/0.9714, allocations: 230.6 MB / 253.4 MB, free: 9.84 MB / 202.7 MB " [Timeout remaining time 179] 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.001248/0.001248, allocations: 220.3 kB / 310 MB, free: 1.957 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.4463/0.4463, allocations: 119 MB / 485.4 MB, free: 14.74 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.ClampOrVirtualResistorCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc") translateModel(OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc") [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.001816/0.001816, allocations: 91.86 kB / 0.651 GB, free: 7.629 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1368, allocations: 83.14 MB / 0.7322 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc): time 0.002898/0.1397, allocations: 2.602 MB / 0.7347 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1409, allocations: 0.831 MB / 0.7355 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.141, allocations: 4 kB / 0.7355 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.794e-05/0.1411, allocations: 51.39 kB / 0.7356 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.1413, allocations: 87.3 kB / 0.7357 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.1416, allocations: 263.7 kB / 0.7359 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.1421, allocations: 0.633 MB / 0.7365 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.1423, allocations: 154.7 kB / 0.7367 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.1426, allocations: 259.2 kB / 0.7369 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1429, allocations: 270.9 kB / 0.7372 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.1429, allocations: 84 kB / 0.7373 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.443e-05/0.143, allocations: 84 kB / 0.7373 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.143, allocations: 167.5 kB / 0.7375 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1432, allocations: 215.1 kB / 0.7377 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.1437, allocations: 0.9731 MB / 0.7387 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1437, allocations: 7.938 kB / 0.7387 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1437, allocations: 0 / 0.7387 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.1437, allocations: 0 / 0.7387 GB, free: 13.64 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001045/0.1448, allocations: 0.7197 MB / 0.7394 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1448, allocations: 12.03 kB / 0.7394 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/0.1449, allocations: 52.66 kB / 0.7394 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.145, allocations: 202.2 kB / 0.7396 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.1452, allocations: 152.1 kB / 0.7398 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.1452, allocations: 48 kB / 0.7398 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.1459, allocations: 0.5995 MB / 0.7404 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1459, allocations: 0 / 0.7404 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.146, allocations: 16 kB / 0.7404 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.146, allocations: 8 kB / 0.7404 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007494/0.1467, allocations: 0.6051 MB / 0.741 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.1484, allocations: 1.344 MB / 0.7423 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.149, allocations: 451.2 kB / 0.7427 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.1493, allocations: 224.8 kB / 0.743 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.1493, allocations: 8 kB / 0.743 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1494, allocations: 46.55 kB / 0.743 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 2.014e-06/0.1494, allocations: 0 / 0.743 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.001455/0.1508, allocations: 0.7907 MB / 0.7438 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1508, allocations: 59.41 kB / 0.7438 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.151, allocations: 231.8 kB / 0.7441 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.1511, allocations: 37.7 kB / 0.7441 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.1511, allocations: 200.7 kB / 0.7443 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.1512, allocations: 158.6 kB / 0.7444 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.1513, allocations: 86 kB / 0.7445 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.1514, allocations: 338.8 kB / 0.7448 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1516, allocations: 168.7 kB / 0.745 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.1519, allocations: 185.2 kB / 0.7452 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.1524, allocations: 401.9 kB / 0.7456 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1524, allocations: 0 / 0.7456 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006816/0.1531, allocations: 0.5246 MB / 0.7461 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1531, allocations: 4 kB / 0.7461 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1531, allocations: 0 / 0.7461 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.1533, allocations: 36.81 kB / 0.7461 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.1535, allocations: 103.8 kB / 0.7462 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008558/0.1544, allocations: 1.331 MB / 0.7475 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.1545, allocations: 43.8 kB / 0.7476 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1546, allocations: 19.91 kB / 0.7476 GB, free: 4.172 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: 3 (limiter.clamp.limited,limiter.virtualResistor.limited,limiter.limited) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.1547, allocations: 173.7 kB / 0.7477 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.1548, allocations: 27.84 kB / 0.7478 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008485/0.1556, allocations: 0.6189 MB / 0.7484 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1556, allocations: 8 kB / 0.7484 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1556, allocations: 3.938 kB / 0.7484 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1556, allocations: 0 / 0.7484 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.1559, allocations: 372.6 kB / 0.7487 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1559, allocations: 0 / 0.7487 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.1562, allocations: 99.86 kB / 0.7488 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.259e-05/0.1563, allocations: 40.77 kB / 0.7489 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.1563, allocations: 7.984 kB / 0.7489 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008228/0.1571, allocations: 1.338 MB / 0.7502 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1572, allocations: 7.969 kB / 0.7502 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.1579, allocations: 0.6219 MB / 0.7508 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.1579, allocations: 39.67 kB / 0.7508 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1579, allocations: 8 kB / 0.7509 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1581, allocations: 27.97 kB / 0.7509 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.1582, allocations: 39.69 kB / 0.7509 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1582, allocations: 11.98 kB / 0.7509 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001131/0.1583, allocations: 187.3 kB / 0.7511 GB, free: 392 kB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.1583, allocations: 0 / 0.7511 GB, free: 392 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002661/0.1586, allocations: 111.7 kB / 0.7512 GB, free: 280 kB / 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: 3 (limiter.limited,limiter.virtualResistor.limited,limiter.clamp.limited) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001119/0.1587, allocations: 107.1 kB / 0.7513 GB, free: 160 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2486/0.4072, allocations: 0.539 MB / 0.7518 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4072, allocations: 3.812 kB / 0.7518 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.4077, allocations: 370.6 kB / 0.7522 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.408, allocations: 32.38 kB / 0.7522 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.4092, allocations: 0.7143 MB / 0.7529 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.4093, allocations: 200.8 kB / 0.7531 GB, free: 25.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.4094, allocations: 50.33 kB / 0.7532 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.123e-06/0.4094, allocations: 0.5938 kB / 0.7532 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.007654/0.4171, allocations: 7.559 MB / 0.7605 GB, free: 24.97 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc.sim & ./OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc > OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.REGFMA1.Components.CurrentLimiters.ClampOrVirtualResistorCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.892899828031659]