Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.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.001686/0.001686, allocations: 114.3 kB / 19.7 MB, free: 2.18 MB / 14.72 MB " [Timeout remaining time 180] 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.001678/0.001678, allocations: 207.9 kB / 23.01 MB, free: 4.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06868/0.06868, allocations: 14.39 MB / 300.4 MB, free: 7.453 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003347/0.003347, allocations: 71.91 kB / 424.3 MB, free: 36.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.136, allocations: 52.9 MB / 477.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.0298/0.1658, allocations: 16.03 MB / 493.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02173/0.1875, allocations: 6.881 MB / 0.4884 GB, free: 8.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003824/0.1914, allocations: 95.19 kB / 0.4885 GB, free: 8.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.1946, allocations: 0.8416 MB / 0.4893 GB, free: 7.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00843/0.203, allocations: 2.627 MB / 0.4919 GB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.2071, allocations: 1.581 MB / 0.4934 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008641/0.2158, allocations: 5.087 MB / 0.4984 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.2176, allocations: 0.4918 MB / 0.4989 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004636/0.2222, allocations: 1.818 MB / 0.5006 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.2263, allocations: 1.844 MB / 0.5024 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.2274, allocations: 288 kB / 0.5027 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.2299, allocations: 0.7067 MB / 0.5034 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.2311, allocations: 0.6303 MB / 0.504 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003256/0.2343, allocations: 1.652 MB / 0.5056 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007925/0.2422, allocations: 4.246 MB / 0.5098 GB, free: 2.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2422, allocations: 0 / 0.5098 GB, free: 2.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2422, allocations: 0 / 0.5098 GB, free: 2.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001626/0.2424, allocations: 0 / 0.5098 GB, free: 2.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.0154/0.2578, allocations: 4.212 MB / 0.5139 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.2579, allocations: 8.031 kB / 0.5139 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.2599, allocations: 422.8 kB / 0.5143 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005009/0.2649, allocations: 1.848 MB / 0.5161 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.2651, allocations: 168.4 kB / 0.5163 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006269/0.2658, allocations: 227.9 kB / 0.5165 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00507/0.2708, allocations: 2.072 MB / 0.5185 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.2709, allocations: 7.875 kB / 0.5185 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.2711, allocations: 88 kB / 0.5186 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/0.2712, allocations: 48 kB / 0.5186 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/0.2755, allocations: 1.912 MB / 0.5205 GB, free: 7.227 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2747/0.5502, allocations: 12.13 MB / 0.5324 GB, free: 54.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/0.5541, allocations: 1.773 MB / 0.5341 GB, free: 53.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.5555, allocations: 0.7428 MB / 0.5348 GB, free: 53.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.5557, allocations: 33.92 kB / 0.5348 GB, free: 53.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.5557, allocations: 60 kB / 0.5349 GB, free: 53.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 4.468e-06/0.5557, allocations: 0.7812 kB / 0.5349 GB, free: 53.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01138/0.5671, allocations: 3.34 MB / 0.5382 GB, free: 52.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.5672, allocations: 176.3 kB / 0.5383 GB, free: 52.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.5713, allocations: 1.889 MB / 0.5402 GB, free: 51.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003941/0.5717, allocations: 68.42 kB / 0.5402 GB, free: 51.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007937/0.5725, allocations: 1.115 MB / 0.5413 GB, free: 51.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000834/0.5733, allocations: 0.7199 MB / 0.542 GB, free: 50.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008726/0.5742, allocations: 484.8 kB / 0.5425 GB, free: 50.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.5742, allocations: 301.1 kB / 0.5428 GB, free: 50.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.5759, allocations: 0.8422 MB / 0.5436 GB, free: 49.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.5778, allocations: 1.45 MB / 0.545 GB, free: 48.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.5806, allocations: 2.199 MB / 0.5472 GB, free: 47.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.5806, allocations: 3.969 kB / 0.5472 GB, free: 47.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.0081/0.5887, allocations: 3.757 MB / 0.5508 GB, free: 45.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.5887, allocations: 8.969 kB / 0.5509 GB, free: 45.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.5888, allocations: 15.12 kB / 0.5509 GB, free: 45.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008599/0.5974, allocations: 1.83 MB / 0.5527 GB, free: 44.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.5996, allocations: 0.5268 MB / 0.5532 GB, free: 44.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/0.6202, allocations: 20.27 MB / 0.573 GB, free: 23.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/0.6232, allocations: 279.4 kB / 0.5732 GB, free: 23.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.6235, allocations: 99.98 kB / 0.5733 GB, free: 23.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001909/0.6254, allocations: 1.072 MB / 0.5744 GB, free: 22.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001271/0.6267, allocations: 1.348 MB / 0.5757 GB, free: 20.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002181/0.6289, allocations: 2.047 MB / 0.5777 GB, free: 18.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.276e-06/0.6289, allocations: 4 kB / 0.5777 GB, free: 18.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005516/0.6344, allocations: 2.948 MB / 0.5806 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.6344, allocations: 12 kB / 0.5806 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.6344, allocations: 16 kB / 0.5806 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006412/0.6408, allocations: 1.292 MB / 0.5819 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.6433, allocations: 0.6046 MB / 0.5824 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.6563, allocations: 15.55 MB / 0.5976 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/0.6593, allocations: 196.6 kB / 0.5978 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003984/0.6597, allocations: 107.2 kB / 0.5979 GB, free: 12.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 5 (PSS.firstWashoutVsi2.integrator.local_reset,PSS.secondWashoutVsi1.integrator.local_reset,PSS.firstWashoutVsi1.integrator.local_reset,AVR.firstOrderLim.I.local_reset,TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0008014/0.6605, allocations: 341.1 kB / 0.5982 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009925/0.6615, allocations: 258.4 kB / 0.5985 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/0.6666, allocations: 2.095 MB / 0.6005 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/0.6666, allocations: 11.95 kB / 0.6005 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6666, allocations: 4 kB / 0.6006 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/0.668, allocations: 457.7 kB / 0.601 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005753/0.6686, allocations: 36 kB / 0.601 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/0.6704, allocations: 77.53 kB / 0.6011 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/0.6707, allocations: 161.7 kB / 0.6012 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005805/0.6765, allocations: 2.081 MB / 0.6033 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0287/0.7052, allocations: 12.81 MB / 0.6158 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001505/0.7068, allocations: 0.6559 MB / 0.6164 GB, free: 9.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002342/0.7091, allocations: 1.226 MB / 0.6176 GB, free: 8.449 MB / 430.1 MB Notification: Performance of Backend: time 7.31e-07/0.7091, allocations: 4 kB / 0.6176 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01685/0.7259, allocations: 6.764 MB / 0.6242 GB, free: 1.465 MB / 430.1 MB Notification: Performance of SimCode: time 0.01627/0.7422, allocations: 7.674 MB / 0.6317 GB, free: 9.742 MB / 446.1 MB Notification: Performance of Templates: time 0.1133/0.8555, allocations: 57.43 MB / 0.6878 GB, free: 416 kB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 50] [Calling os._exit(0), Time elapsed: 7.701197562972084] Failed to read output from testmodel.py, exit status != 0: 0.8674757869448513 0.88295069 0.636831388 Calling exit ...