Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0009311/0.0009311, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.014/1.014, allocations: 177.1 MB / 201 MB, free: 5.719 MB / 186.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.001183/0.001183, allocations: 156.6 kB / 257.7 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2827/0.2827, allocations: 83.29 MB / 397.5 MB, free: 15.04 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 master/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_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0") translateModel(OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 494.3 MB, free: 7.887 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.82e-05, allocations: 4.5 kB / 494.3 MB, free: 7.883 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0): time 0.003463/0.003481, allocations: 2.534 MB / 496.8 MB, free: 5.344 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.005093, allocations: 0.942 MB / 497.8 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.005319, allocations: 11.94 kB / 497.8 MB, free: 4.387 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.005658, allocations: 76.81 kB / 497.9 MB, free: 4.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.005866, allocations: 91.88 kB / 497.9 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.006474, allocations: 367.8 kB / 498.3 MB, free: 3.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.006954, allocations: 0.5216 MB / 498.8 MB, free: 3.344 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.007185, allocations: 141.7 kB / 499 MB, free: 3.203 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.007475, allocations: 291.3 kB / 499.2 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.007672, allocations: 171.5 kB / 499.4 MB, free: 2.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.141e-05/0.007733, allocations: 59.98 kB / 499.5 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.007783, allocations: 56 kB / 499.5 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.007883, allocations: 133 kB / 499.7 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.007989, allocations: 147.6 kB / 499.8 MB, free: 2.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.008324, allocations: 338.8 kB / 0.4884 GB, free: 2.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.008326, allocations: 0 / 0.4884 GB, free: 2.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.008327, allocations: 0 / 0.4884 GB, free: 2.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.008333, allocations: 1.562 kB / 0.4884 GB, free: 2.031 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008369/0.00917, allocations: 0.7754 MB / 0.4892 GB, free: 1.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.009208, allocations: 12.02 kB / 0.4892 GB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.009297, allocations: 73.25 kB / 0.4893 GB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.01007, allocations: 371.1 kB / 0.4896 GB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.01013, allocations: 54.92 kB / 0.4897 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.01018, allocations: 32.38 kB / 0.4897 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.0106, allocations: 396.3 kB / 0.4901 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.01061, allocations: 4.172 kB / 0.4901 GB, free: 220 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.01063, allocations: 16.12 kB / 0.4901 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.01064, allocations: 8 kB / 0.4901 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.01084, allocations: 116.3 kB / 0.4902 GB, free: 80 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.01199, allocations: 1.461 MB / 0.4916 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.01256, allocations: 334.2 kB / 0.492 GB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.01266, allocations: 84.44 kB / 0.492 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.01269, allocations: 8 kB / 0.492 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.01271, allocations: 45.33 kB / 0.4921 GB, free: 14.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/0.01271, allocations: 0.9062 kB / 0.4921 GB, free: 14.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003879/0.0131, allocations: 217.9 kB / 0.4923 GB, free: 13.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.01316, allocations: 188.6 kB / 0.4925 GB, free: 13.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.01342, allocations: 371.6 kB / 0.4928 GB, free: 13.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.01344, allocations: 29.7 kB / 0.4929 GB, free: 13.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01356, allocations: 263.2 kB / 0.4931 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.01362, allocations: 88.19 kB / 0.4932 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.0137, allocations: 75.31 kB / 0.4933 GB, free: 12.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.01383, allocations: 0.5165 MB / 0.4938 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.01392, allocations: 55.66 kB / 0.4938 GB, free: 12.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.01406, allocations: 162.5 kB / 0.494 GB, free: 11.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.01425, allocations: 136.5 kB / 0.4941 GB, free: 11.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01425, allocations: 0 / 0.4941 GB, free: 11.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002802/0.01453, allocations: 229.7 kB / 0.4943 GB, free: 11.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.01454, allocations: 4 kB / 0.4943 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01454, allocations: 0.8125 kB / 0.4943 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.01456, allocations: 4 kB / 0.4943 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.01481, allocations: 109.8 kB / 0.4944 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.01482, allocations: 8.812 kB / 0.4944 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.01492, allocations: 33.95 kB / 0.4945 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01493, allocations: 8 kB / 0.4945 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001469/0.01507, allocations: 170.8 kB / 0.4946 GB, free: 11.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001228/0.0152, allocations: 158.2 kB / 0.4948 GB, free: 11.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001569/0.01535, allocations: 127.8 kB / 0.4949 GB, free: 10.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.01536, allocations: 0 / 0.4949 GB, free: 10.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0002576/0.01561, allocations: 241.8 kB / 0.4951 GB, free: 10.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.301e-06/0.01562, allocations: 4.625 kB / 0.4952 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.01562, allocations: 3.984 kB / 0.4952 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-06/0.01563, allocations: 5.281 kB / 0.4952 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.01584, allocations: 96.95 kB / 0.4953 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01584, allocations: 4.531 kB / 0.4953 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.867e-05/0.01593, allocations: 29.19 kB / 0.4953 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.01594, allocations: 8 kB / 0.4953 GB, free: 10.55 MB / 426.7 MB 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 (38): * Single equations (assignments): 38 * 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.0001137/0.01606, allocations: 284.7 kB / 0.4956 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.01614, allocations: 51.75 kB / 0.4956 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.01619, allocations: 37 kB / 0.4957 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01619, allocations: 0 / 0.4957 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01619, allocations: 4 kB / 0.4957 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.0162, allocations: 0 / 0.4957 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.01707, allocations: 0.7807 MB / 0.4964 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01707, allocations: 0 / 0.4964 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.01736, allocations: 115.5 kB / 0.4965 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01736, allocations: 0 / 0.4965 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.01738, allocations: 9.188 kB / 0.4965 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01738, allocations: 4 kB / 0.4965 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01738, allocations: 3.938 kB / 0.4965 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.01777, allocations: 400.1 kB / 0.4969 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.01781, allocations: 47.69 kB / 0.497 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.01783, allocations: 8.047 kB / 0.497 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.01797, allocations: 29.17 kB / 0.497 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.01802, allocations: 27.84 kB / 0.497 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.01803, allocations: 12.95 kB / 0.497 GB, free: 8.672 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.01819, allocations: 251.1 kB / 0.4973 GB, free: 8.426 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01819, allocations: 0.5625 kB / 0.4973 GB, free: 8.426 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002942/0.01849, allocations: 127.6 kB / 0.4974 GB, free: 8.301 MB / 426.7 MB 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 (23): * Single equations (assignments): 23 * 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.875e-05/0.01858, allocations: 105 kB / 0.4975 GB, free: 8.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.01893, allocations: 247.9 kB / 0.4977 GB, free: 7.941 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01894, allocations: 0 / 0.4977 GB, free: 7.941 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.01904, allocations: 82.44 kB / 0.4978 GB, free: 7.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.01932, allocations: 70.28 kB / 0.4979 GB, free: 7.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009362/0.02025, allocations: 0.7507 MB / 0.4986 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.02039, allocations: 212.2 kB / 0.4988 GB, free: 6.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.02047, allocations: 24.5 kB / 0.4988 GB, free: 6.75 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02047, allocations: 8 kB / 0.4989 GB, free: 6.742 MB / 426.7 MB Notification: Performance of Templates: time 0.004855/0.02532, allocations: 4.875 MB / 0.5036 GB, free: 1.887 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.sim & ./OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0 > OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag1vflag0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.284175452310592]