Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1.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.001389/0.001389, allocations: 80.75 kB / 19.94 MB, free: 4.547 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 0.9561/0.9561, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001334/0.001334, allocations: 160.6 kB / 257 MB, free: 12.97 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.4251/0.4251, allocations: 83.3 MB / 343.6 MB, free: 6.75 MB / 314.7 MB " [Timeout remaining time 180] 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.QVqvflag0vflag1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1") translateModel(OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 387.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.11e-05, allocations: 9.125 kB / 387.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1): time 0.002623/0.002645, allocations: 2.49 MB / 390.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004055, allocations: 0.9623 MB / 391.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.004212, allocations: 7.938 kB / 391.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.004509, allocations: 83.17 kB / 391.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.004677, allocations: 87.38 kB / 391.5 MB, free: 7.082 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.005174, allocations: 371.3 kB / 391.9 MB, free: 6.719 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.005738, allocations: 0.5267 MB / 392.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.005896, allocations: 139.7 kB / 392.6 MB, free: 6.051 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.006124, allocations: 291.3 kB / 392.9 MB, free: 5.766 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.00628, allocations: 183.4 kB / 393 MB, free: 5.586 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.006328, allocations: 52 kB / 393.1 MB, free: 5.535 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.261e-05/0.006371, allocations: 56 kB / 393.1 MB, free: 5.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.006452, allocations: 131.6 kB / 393.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.006533, allocations: 135.6 kB / 393.4 MB, free: 5.219 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.006813, allocations: 346.7 kB / 393.7 MB, free: 4.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.006814, allocations: 4 kB / 393.7 MB, free: 4.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.007e-06/0.006818, allocations: 4 kB / 393.7 MB, free: 4.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.006821, allocations: 0 / 393.7 MB, free: 4.871 MB / 362.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.0006749/0.007496, allocations: 0.6487 MB / 394.4 MB, free: 4.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.007523, allocations: 8.031 kB / 394.4 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.00759, allocations: 52.89 kB / 394.5 MB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.007932, allocations: 312.6 kB / 394.8 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.00798, allocations: 50.92 kB / 394.8 MB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.008019, allocations: 36.38 kB / 394.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.00834, allocations: 362.5 kB / 395.2 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.008349, allocations: 192 / 395.2 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.008368, allocations: 16.12 kB / 395.2 MB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.008375, allocations: 8 kB / 395.2 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.008513, allocations: 97.92 kB / 395.3 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.00939, allocations: 0.9832 MB / 396.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.009874, allocations: 326.3 kB / 396.6 MB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.009943, allocations: 63.42 kB / 396.7 MB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.009967, allocations: 12 kB / 396.7 MB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.009988, allocations: 34.56 kB / 396.7 MB, free: 1.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.082e-06/0.009989, allocations: 0 / 396.7 MB, free: 1.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0002677/0.01026, allocations: 160.9 kB / 396.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.01032, allocations: 191.9 kB / 397.1 MB, free: 1.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.0105, allocations: 295.8 kB / 397.4 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.01053, allocations: 37.7 kB / 397.4 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.0106, allocations: 185.1 kB / 397.6 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.01065, allocations: 91.25 kB / 397.7 MB, free: 0.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.01072, allocations: 65.66 kB / 397.7 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.01081, allocations: 342.8 kB / 398.1 MB, free: 260 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.01088, allocations: 49.55 kB / 398.1 MB, free: 208 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01099, allocations: 143.4 kB / 398.3 MB, free: 36 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.01116, allocations: 134.3 kB / 398.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.01116, allocations: 0 / 398.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002066/0.01137, allocations: 189.4 kB / 398.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.01137, allocations: 4 kB / 398.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.01138, allocations: 4 kB / 398.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.01138, allocations: 0 / 398.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.01161, allocations: 99.88 kB / 398.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01162, allocations: 4 kB / 398.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/0.01171, allocations: 39.83 kB / 398.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.01172, allocations: 8 kB / 398.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001126/0.01183, allocations: 129.8 kB / 398.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.215e-05/0.01192, allocations: 136 kB / 399 MB, free: 15.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001297/0.01205, allocations: 125.4 kB / 399.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.01205, allocations: 0 / 399.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.000186/0.01224, allocations: 184.1 kB / 399.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-06/0.01224, allocations: 8 kB / 399.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.72e-07/0.01224, allocations: 0 / 399.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-06/0.01225, allocations: 4 kB / 399.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.01258, allocations: 99.88 kB / 399.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.01258, allocations: 4 kB / 399.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.073e-05/0.01266, allocations: 31.88 kB / 399.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.01267, allocations: 11.98 kB / 399.4 MB, free: 14.78 MB / 378.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 7.639e-05/0.01275, allocations: 196.2 kB / 399.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.01281, allocations: 31.91 kB / 399.7 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.01285, allocations: 39.22 kB / 399.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01286, allocations: 4 kB / 399.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01286, allocations: 0 / 399.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01286, allocations: 3.984 kB / 399.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.0133, allocations: 0.5346 MB / 400.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.0133, allocations: 4.094 kB / 400.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.01355, allocations: 107.9 kB / 400.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01355, allocations: 4 kB / 400.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.01357, allocations: 8 kB / 400.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01357, allocations: 3.984 kB / 400.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01357, allocations: 4 kB / 400.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.01383, allocations: 337.9 kB / 400.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.01387, allocations: 39.73 kB / 400.7 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.01389, allocations: 11.98 kB / 400.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.01401, allocations: 27.98 kB / 400.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.01405, allocations: 23.95 kB / 400.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.01406, allocations: 4 kB / 400.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.01415, allocations: 124.7 kB / 400.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01415, allocations: 0 / 400.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.01438, allocations: 127.6 kB / 401.1 MB, free: 13.09 MB / 378.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 7.494e-05/0.01445, allocations: 92.34 kB / 401.1 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.01472, allocations: 221.2 kB / 401.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.01472, allocations: 4 kB / 401.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.01479, allocations: 64.91 kB / 401.4 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.015, allocations: 68.09 kB / 401.5 MB, free: 12.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.01578, allocations: 0.6902 MB / 402.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.034e-05/0.01584, allocations: 112.5 kB / 402.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.01595, allocations: 46.95 kB / 402.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.01611, allocations: 107.3 kB / 402.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.01611, allocations: 0 / 402.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of Templates: time 0.006538/0.02264, allocations: 4.622 MB / 407.1 MB, free: 7.027 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.BasicComponents.QVqvflag0vflag1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.973811426665634]