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.001697/0.001697, allocations: 100.4 kB / 20.49 MB, free: 1.316 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.00232/0.00232, allocations: 224 kB / 23.8 MB, free: 4.453 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.539/1.539, allocations: 207.7 MB / 234.6 MB, free: 9.781 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.06847/0.06847, allocations: 14.39 MB / 301.3 MB, free: 7.227 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.00261/0.00261, allocations: 71.91 kB / 425.1 MB, free: 36.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1198, allocations: 52.9 MB / 478 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.02035/0.1401, allocations: 13.81 MB / 491.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01713/0.1572, allocations: 6.476 MB / 498.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004872/0.1621, allocations: 99.19 kB / 498.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003865/0.166, allocations: 0.795 MB / 499.2 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.1764, allocations: 2.577 MB / 0.49 GB, free: 7.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.1814, allocations: 1.535 MB / 0.4915 GB, free: 5.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.1921, allocations: 5.071 MB / 0.4964 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.1945, allocations: 475.6 kB / 0.4969 GB, free: 224 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005511/0.2, allocations: 1.814 MB / 0.4987 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004545/0.2045, allocations: 1.672 MB / 0.5003 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.2061, allocations: 288 kB / 0.5006 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003464/0.2096, allocations: 0.6833 MB / 0.5012 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.211, allocations: 0.6381 MB / 0.5019 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00403/0.215, allocations: 1.341 MB / 0.5032 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008462/0.2235, allocations: 4.269 MB / 0.5073 GB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.2235, allocations: 7.984 kB / 0.5074 GB, free: 5.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.2235, allocations: 0 / 0.5074 GB, free: 5.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001414/0.2237, allocations: 0 / 0.5074 GB, free: 5.473 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.01647/0.2401, allocations: 4.204 MB / 0.5115 GB, free: 1.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.2402, allocations: 12.03 kB / 0.5115 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.242, allocations: 422.8 kB / 0.5119 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004671/0.2467, allocations: 1.856 MB / 0.5137 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.2469, allocations: 164.4 kB / 0.5138 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/0.2472, allocations: 223.9 kB / 0.5141 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.2515, allocations: 2.202 MB / 0.5162 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.064e-05/0.2515, allocations: 7.938 kB / 0.5162 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.2517, allocations: 83.98 kB / 0.5163 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.2518, allocations: 52 kB / 0.5163 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004282/0.256, allocations: 1.889 MB / 0.5182 GB, free: 10.16 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.02198/0.278, allocations: 7.647 MB / 0.5257 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.2824, allocations: 1.756 MB / 0.5274 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3247/0.6071, allocations: 0.7412 MB / 0.5281 GB, free: 59.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.6072, allocations: 27.12 kB / 0.5281 GB, free: 59.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/0.6073, allocations: 56.3 kB / 0.5282 GB, free: 59.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 6.152e-06/0.6073, allocations: 0 / 0.5282 GB, free: 59.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01181/0.6191, allocations: 3.331 MB / 0.5314 GB, free: 59.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.6192, allocations: 180.6 kB / 0.5316 GB, free: 59.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.6228, allocations: 1.849 MB / 0.5334 GB, free: 58.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003282/0.6231, allocations: 75.14 kB / 0.5335 GB, free: 58.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000967/0.6241, allocations: 1.126 MB / 0.5346 GB, free: 57.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008034/0.6249, allocations: 0.717 MB / 0.5353 GB, free: 57.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007442/0.6256, allocations: 477.2 kB / 0.5357 GB, free: 57.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.6257, allocations: 301.7 kB / 0.536 GB, free: 56.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.6275, allocations: 0.8287 MB / 0.5368 GB, free: 56.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.63, allocations: 1.723 MB / 0.5385 GB, free: 55.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003756/0.6338, allocations: 2.183 MB / 0.5406 GB, free: 53.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/0.6338, allocations: 4.5 kB / 0.5406 GB, free: 53.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01058/0.6444, allocations: 3.725 MB / 0.5443 GB, free: 52.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.6444, allocations: 13.92 kB / 0.5443 GB, free: 52.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.6444, allocations: 15.81 kB / 0.5443 GB, free: 52.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009009/0.6534, allocations: 1.826 MB / 0.5461 GB, free: 52.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.6558, allocations: 0.5286 MB / 0.5466 GB, free: 52.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.677, allocations: 19.83 MB / 0.566 GB, free: 32.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/0.6807, allocations: 268 kB / 0.5662 GB, free: 32.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.6809, allocations: 104.5 kB / 0.5663 GB, free: 32.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002045/0.683, allocations: 1.067 MB / 0.5674 GB, free: 31.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001423/0.6844, allocations: 1.612 MB / 0.569 GB, free: 29.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002321/0.6867, allocations: 2.034 MB / 0.5709 GB, free: 26.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/0.6867, allocations: 4 kB / 0.5709 GB, free: 26.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.005661/0.6924, allocations: 2.923 MB / 0.5738 GB, free: 23.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6924, allocations: 17.19 kB / 0.5738 GB, free: 23.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.6924, allocations: 12 kB / 0.5738 GB, free: 23.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00635/0.6988, allocations: 1.291 MB / 0.5751 GB, free: 22.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.7011, allocations: 0.6007 MB / 0.5757 GB, free: 22.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.7128, allocations: 15.21 MB / 0.5905 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003803/0.7166, allocations: 201 kB / 0.5907 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.7168, allocations: 99.98 kB / 0.5908 GB, free: 5.555 MB / 398.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 (279): * Single equations (assignments): 268 * 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.0008597/0.7176, allocations: 332.3 kB / 0.5911 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005941/0.7182, allocations: 250.4 kB / 0.5914 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/0.7221, allocations: 2.1 MB / 0.5934 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.7221, allocations: 15.89 kB / 0.5934 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7222, allocations: 5.203 kB / 0.5934 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.7232, allocations: 433.4 kB / 0.5939 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.7235, allocations: 36 kB / 0.5939 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.7248, allocations: 79.17 kB / 0.594 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/0.7251, allocations: 157.7 kB / 0.5941 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00456/0.7297, allocations: 2.07 MB / 0.5961 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0271/0.7568, allocations: 12.37 MB / 0.6082 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001355/0.7581, allocations: 0.652 MB / 0.6089 GB, free: 3.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.7602, allocations: 1.189 MB / 0.61 GB, free: 1.805 MB / 414.1 MB Notification: Performance of Backend: time 6.42e-07/0.7602, allocations: 0 / 0.61 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0157/0.7759, allocations: 6.739 MB / 0.6166 GB, free: 10.84 MB / 430.1 MB Notification: Performance of SimCode: time 0.01416/0.7901, allocations: 7.65 MB / 0.6241 GB, free: 3.141 MB / 430.1 MB Notification: Performance of Templates: time 0.1164/0.9064, allocations: 61.58 MB / 0.6842 GB, free: 5.602 MB / 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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.795891540998127] Failed to read output from testmodel.py, exit status != 0: 0.9170584710082039 0.932036757 0.704824287 Calling exit ...