Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.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.001547/0.001547, allocations: 104.3 kB / 19.71 MB, free: 440 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 1.075/1.075, 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.001764/0.001764, allocations: 218.6 kB / 310 MB, free: 1.945 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.4895/0.4895, allocations: 113.5 MB / 479.9 MB, free: 3.898 MB / 330.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.BasicComponents.QVqvflag1vflag0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0") translateModel(OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0") [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.002048/0.002048, allocations: 91.86 kB / 0.6428 GB, free: 1.496 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1458, allocations: 81.75 MB / 0.7226 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0): time 0.003084/0.1488, allocations: 2.472 MB / 0.7251 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1501, allocations: 0.9469 MB / 0.726 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1503, allocations: 11.94 kB / 0.726 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1507, allocations: 71.31 kB / 0.7261 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1509, allocations: 99.3 kB / 0.7262 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.1514, allocations: 352 kB / 0.7265 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005375/0.1519, allocations: 0.6947 MB / 0.7272 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1521, allocations: 133.7 kB / 0.7273 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.1524, allocations: 251.1 kB / 0.7275 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1526, allocations: 226.9 kB / 0.7278 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.1526, allocations: 56 kB / 0.7278 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.1527, allocations: 60 kB / 0.7279 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1528, allocations: 139.5 kB / 0.728 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1529, allocations: 175 kB / 0.7282 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.1534, allocations: 0.6498 MB / 0.7288 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1534, allocations: 7.984 kB / 0.7288 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1534, allocations: 0 / 0.7288 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.1534, allocations: 0 / 0.7288 GB, free: 9.234 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001105/0.1545, allocations: 0.7659 MB / 0.7296 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1545, allocations: 8.031 kB / 0.7296 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.1546, allocations: 56.61 kB / 0.7296 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/0.1552, allocations: 416.4 kB / 0.73 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.1552, allocations: 50.92 kB / 0.7301 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.1553, allocations: 36.38 kB / 0.7301 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007436/0.156, allocations: 0.4924 MB / 0.7306 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.156, allocations: 3.938 kB / 0.7306 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.1561, allocations: 12 kB / 0.7306 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1561, allocations: 8 kB / 0.7306 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.1565, allocations: 318.4 kB / 0.7309 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1578, allocations: 1.379 MB / 0.7323 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1588, allocations: 0.5648 MB / 0.7328 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.159, allocations: 175.5 kB / 0.733 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1591, allocations: 7.938 kB / 0.733 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1591, allocations: 42.56 kB / 0.733 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 1.974e-06/0.1591, allocations: 0 / 0.733 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.0007381/0.1598, allocations: 483.4 kB / 0.7335 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.1599, allocations: 187.9 kB / 0.7337 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.1603, allocations: 433.5 kB / 0.7341 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1604, allocations: 33.64 kB / 0.7341 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1605, allocations: 228.4 kB / 0.7343 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.1605, allocations: 87.41 kB / 0.7344 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.1606, allocations: 69.98 kB / 0.7345 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.1607, allocations: 350.8 kB / 0.7348 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.1609, allocations: 150.1 kB / 0.735 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1611, allocations: 252.5 kB / 0.7352 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.1615, allocations: 302.9 kB / 0.7355 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1615, allocations: 0 / 0.7355 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005168/0.162, allocations: 412.8 kB / 0.7359 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.1621, allocations: 4 kB / 0.7359 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1621, allocations: 4 kB / 0.7359 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1621, allocations: 3.938 kB / 0.7359 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.1625, allocations: 131.9 kB / 0.736 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.1625, allocations: 3.938 kB / 0.736 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1627, allocations: 63.77 kB / 0.7361 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.1627, allocations: 8 kB / 0.7361 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002762/0.163, allocations: 244.7 kB / 0.7363 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002198/0.1632, allocations: 223.9 kB / 0.7365 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003064/0.1635, allocations: 262.5 kB / 0.7368 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.1635, allocations: 0 / 0.7368 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004409/0.1639, allocations: 368.5 kB / 0.7371 GB, free: 308 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1639, allocations: 8 kB / 0.7371 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1639, allocations: 7.922 kB / 0.7371 GB, free: 292 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.164, allocations: 4.062 kB / 0.7372 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.1643, allocations: 119.9 kB / 0.7373 GB, free: 168 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1643, allocations: 4 kB / 0.7373 GB, free: 164 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.1644, allocations: 51.8 kB / 0.7373 GB, free: 112 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1644, allocations: 16 kB / 0.7373 GB, free: 96 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (q_v_droop_scheme.kivInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0003771/0.1648, allocations: 196.2 kB / 0.7375 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.1649, allocations: 43.69 kB / 0.7376 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.165, allocations: 43.28 kB / 0.7376 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.165, allocations: 4 kB / 0.7376 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.165, allocations: 0 / 0.7376 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.165, allocations: 4 kB / 0.7376 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.1657, allocations: 0.6708 MB / 0.7383 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1657, allocations: 3.984 kB / 0.7383 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.1661, allocations: 159.9 kB / 0.7384 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.1661, allocations: 4 kB / 0.7384 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.1661, allocations: 8 kB / 0.7384 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1661, allocations: 4 kB / 0.7384 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1661, allocations: 0 / 0.7384 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.1669, allocations: 0.638 MB / 0.7391 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.1669, allocations: 43.73 kB / 0.7391 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1669, allocations: 8 kB / 0.7391 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1672, allocations: 59.92 kB / 0.7392 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.1672, allocations: 23.95 kB / 0.7392 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1672, allocations: 4 kB / 0.7392 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003289/0.1676, allocations: 315.1 kB / 0.7395 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.1676, allocations: 3.938 kB / 0.7395 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003296/0.1679, allocations: 143.6 kB / 0.7396 GB, free: 13.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (q_v_droop_scheme.Qfilt.lfp.x_scaled[1],q_v_droop_scheme.Vfilt.lfp.x_scaled[1],q_v_droop_scheme.kivInt.y,firstOrder.y) * 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 (22): * Single equations (assignments): 22 * 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.0001055/0.168, allocations: 108.6 kB / 0.7397 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000655/0.1686, allocations: 469.9 kB / 0.7402 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1686, allocations: 0 / 0.7402 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.1689, allocations: 165.7 kB / 0.7403 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1692, allocations: 61.33 kB / 0.7404 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1704, allocations: 0.8316 MB / 0.7412 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.1705, allocations: 219 kB / 0.7414 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.1706, allocations: 31.38 kB / 0.7415 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.1706, allocations: 4 kB / 0.7415 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.005428/0.176, allocations: 4.975 MB / 0.7463 GB, free: 6.762 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.sim & ./OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0 > OpenIPSL_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.24413173366338]